]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: nVMX: Shadow "high" parts of shadowed 64-bit VMCS fields
authorJim Mattson <jmattson@google.com>
Fri, 7 Jul 2017 19:51:41 +0000 (12:51 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Jul 2017 16:41:12 +0000 (18:41 +0200)
commit85fd514e24238a633c971332aa96a2e5c4ddd502
treebddca3d1b610131b446fa3fe63979a3a25418590
parent5fa99cbe7b666dce6dd8ac55b253778893b9c5df
kvm: nVMX: Shadow "high" parts of shadowed 64-bit VMCS fields

Inconsistencies result from shadowing only accesses to the full
64-bits of a 64-bit VMCS field, but not shadowing accesses to the high
32-bits of the field. The "high" part of a 64-bit field should be
shadowed whenever the full 64-bit field is shadowed.

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