diff options
author | Amit Shah <amit.shah@qumranet.com> | 2008-02-28 13:36:15 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 12:03:13 +0300 |
commit | 41d6af119206e98764b4ae6d264d63acefcf851e (patch) | |
tree | a98a6646cce5bba013b681722208a1cf8b784ef0 /arch/x86/kvm/i8259.c | |
parent | 401d10dee083bda281f2fdcdf654080313ba30ec (diff) | |
download | linux-41d6af119206e98764b4ae6d264d63acefcf851e.tar.xz |
KVM: is_long_mode() should check for EFER.LMA
is_long_mode currently checks the LongModeEnable bit in
EFER instead of the LongModeActive bit. This is wrong, but
we survived this till now since it wasn't triggered. This
breaks guests that go from long mode to compatibility mode.
This is noticed on a solaris guest and fixes bug #1842160
Signed-off-by: Amit Shah <amit.shah@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/i8259.c')
0 files changed, 0 insertions, 0 deletions