KVM: Ioctls for init MSI-X entry
authorSheng Yang <sheng@linux.intel.com>
Wed, 25 Feb 2009 09:22:26 +0000 (17:22 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:23 +0000 (11:48 +0300)
commitc1e01514296e8a4a43ff0c88dcff635cb90feb5f
tree299a54da71c4900fc3b71840e2c6eec98b35f8b4
parentbfd349d073b2838a6a031f057d25e266619b7093
KVM: Ioctls for init MSI-X entry

Introduce KVM_SET_MSIX_NR and KVM_SET_MSIX_ENTRY two ioctls.

This two ioctls are used by userspace to specific guest device MSI-X entry
number and correlate MSI-X entry with GSI during the initialization stage.

MSI-X should be well initialzed before enabling.

Don't support change MSI-X entry number for now.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm.h
include/linux/kvm_host.h
virt/kvm/kvm_main.c