]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Expose VMCS shadowing to L1 guest
authorLiran Alon <liran.alon@oracle.com>
Fri, 22 Jun 2018 23:35:11 +0000 (02:35 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:46 +0000 (17:58 +0200)
commit8ece9053dd8ed2cf029e262a3cbd2fe2a332e44e
tree36d21a3c1e0d611dc55a4b44061631acc7590368
parent6eace78d0a2d1172edac35a83944b9d538a7b23a
KVM: nVMX: Expose VMCS shadowing to L1 guest

Expose VMCS shadowing to L1 as a VMX capability of the virtual CPU,
whether or not VMCS shadowing is supported by the physical CPU.
(VMCS shadowing emulation)

Shadowed VMREADs and VMWRITEs from L2 are handled by L0, without a
VM-exit to L1.

Signed-off-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c