• Avi Kivity's avatar
    KVM: Create an inode per virtual machine · f17abe9a
    Avi Kivity authored
    This avoids having filp->f_op and the corresponding inode->i_fop different,
    which is a little unorthodox.
    
    The ioctl list is split into two: global kvm ioctls and per-vm ioctls.  A new
    ioctl, KVM_CREATE_VM, is used to create VMs and return the VM fd.
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    f17abe9a
kvm_main.c 55.3 KB