]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: expose VMX capabilities for nested hypervisors to userspace
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Feb 2018 12:40:09 +0000 (13:40 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 6 Mar 2018 17:40:46 +0000 (18:40 +0100)
commit00cce4a6c9af09a83f86eaa01ef6e0342d168213
treea4f02311c7dae4b0fc861f9385faf03d4e2d4e08
parent00c3e64c6f74f357136e1c5ec604422ffbcbe5ef
KVM: nVMX: expose VMX capabilities for nested hypervisors to userspace

Use the new MSR feature framework to tell userspace which VMX capabilities
are available for nested hypervisors.  Before, these were only accessible
with the KVM_GET_MSR VCPU ioctl, after VCPUs had been created.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c