Skip to content

KVM: nVMX: expose VMX capabilities as MSR features

Paolo Bonzini kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: nVMX: introduce struct nested_vmx_msrsarch/x86/kvm/vmx.c+178 -1740 replies
2/2KVM: nVMX: expose VMX capabilities for nested hypervisors to userspacearch/x86/kvm/vmx.c arch/x86/kvm/x86.c+34 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
1.8.3.1