public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: nVMX: expose VMX capabilities as MSR features
@ 2018-02-26 12:40 Paolo Bonzini
  2018-02-26 12:40 ` [PATCH 1/2] KVM: nVMX: introduce struct nested_vmx_msrs Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paolo Bonzini @ 2018-02-26 12:40 UTC (permalink / raw)
  To: linux-kernel, kvm; +Cc: dmatlack

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-07 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-26 12:40 [PATCH 0/2] KVM: nVMX: expose VMX capabilities as MSR features Paolo Bonzini
2018-02-26 12:40 ` [PATCH 1/2] KVM: nVMX: introduce struct nested_vmx_msrs Paolo Bonzini
2018-02-26 12:40 ` [PATCH 2/2] KVM: nVMX: expose VMX capabilities for nested hypervisors to userspace Paolo Bonzini
2018-03-07 15:55 ` [PATCH 0/2] KVM: nVMX: expose VMX capabilities as MSR features Radim Krčmář

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox