Skip to content
Commit f17abe9a authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Create an inode per virtual machine



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>
parent 37e29d90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment