]> rtime.felk.cvut.cz Git - zynq/linux.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)
commit1389309c811b0c954bf3b591b761d79b1700283d
treea4f02311c7dae4b0fc861f9385faf03d4e2d4e08
parent6677f3dad8747a5a84a2e7f67a35444fc9be895a
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