[PATCH 0/2] KVM: nVMX: expose VMX capabilities as MSR features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches add the VMX capability MSRs to the /dev/kvm ioctls
KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS, so that userspace
can easily probe which VMX features are actually supported by KVM.

This will help the implementation of nested hypervisor migration,
even for heterogeneous clusters.

Patch 1 is just refactoring, while patch 2 implements the feature.

Thanks,

Paolo

Paolo Bonzini (2):
  KVM: nVMX: introduce struct nested_vmx_msrs
  KVM: nVMX: expose VMX capabilities for nested hypervisors to userspace

 arch/x86/kvm/vmx.c | 367 ++++++++++++++++++++++++++++-------------------------
 arch/x86/kvm/x86.c |  19 +++
 2 files changed, 210 insertions(+), 176 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux