diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-06-18 17:19:25 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-19 12:52:15 +0200 |
commit | 1e32c07955b43e7f827174bf320ed35971117275 (patch) | |
tree | a1479742bd802791c1d71b456296ef2ea6ff7d64 /init/do_mounts.h | |
parent | a449c7aa51e10c9bde0ea9bee4e682d6d067ebab (diff) |
KVM: vmx: handle_cr ignores 32/64-bit mode
On 32-bit mode only bits [31:0] of the CR should be used for setting the CR
value. Otherwise, the host may incorrectly assume the value is invalid if bits
[63:32] are not zero. Moreover, the CR is currently being read twice when CR8
is used. Last, nested mov-cr exiting is modified to handle the CR value
correctly as well.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions