KVM: VMX: fix read/write sizes of VMCS fields
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Dec 2015 14:49:56 +0000 (15:49 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Dec 2015 17:49:46 +0000 (18:49 +0100)
commitf35310546399eb77f03d37e760320e021f9a8568
tree2a19d7a473e2d0658512de4c7b31baf2b3c85b6e
parent0bcf261cc86d082923082f79febe2d13c055f217
KVM: VMX: fix read/write sizes of VMCS fields

In theory this should have broken EPT on 32-bit kernels (due to
reading the high part of natural-width field GUEST_CR3).  Not sure
if no one noticed or the processor behaves differently from the
documentation.

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