commit | f17abe9a44425ff9c9858bc1806cc09d6b5dad1c | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Feb 21 19:28:04 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Sun Mar 04 11:12:42 2007 +0200 |
tree | 47b060818bbea16dfecf21b8008a99c978a5f0c3 | |
parent | 37e29d906c6eb1ece907e509160518b2edc2c083 [diff] |
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: Avi Kivity <avi@qumranet.com>