KVM: nVMX: pass valid guest linear-address to the L1
authorJan Dakinevich <jan.dakinevich@gmail.com>
Sun, 4 Sep 2016 18:22:47 +0000 (21:22 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Sep 2016 17:34:28 +0000 (19:34 +0200)
commit119a9c01a5922600a78106d9bbdd6aaafc851a27
tree41e8525de641a06d22a223ac301349af4e29a301
parent3706feacd007c89f49bdb20c5c1dd17c8badfc43
KVM: nVMX: pass valid guest linear-address to the L1

If EPT support is exposed to L1 hypervisor, guest linear-address field
of VMCS should contain GVA of L2, the access to which caused EPT violation.

Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c