]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Update vmcs12->guest_linear_address on nested VM-exit
authorJim Mattson <jmattson@google.com>
Thu, 1 Jun 2017 19:44:46 +0000 (12:44 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 7 Jun 2017 14:36:41 +0000 (16:36 +0200)
commit67684f965e136518d565058afd9d5d20d250cacf
tree7f04869af3d342058c19f776318d50dce512b71e
parentb705237d04eead4d3a728b7c1fd459b51de7831f
KVM: nVMX: Update vmcs12->guest_linear_address on nested VM-exit

The guest-linear address field is set for VM exits due to attempts to
execute LMSW with a memory operand and VM exits due to attempts to
execute INS or OUTS for which the relevant segment is usable,
regardless of whether or not EPT is in use.

Fixes: de5096d42e9a7 ("KVM: nVMX: pass valid guest linear-address to the L1")
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c