aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAmit Shah <[email protected]>2008-02-28 16:06:15 +0530
committerAvi Kivity <[email protected]>2009-03-24 11:03:13 +0200
commit41d6af119206e98764b4ae6d264d63acefcf851e (patch)
treea98a6646cce5bba013b681722208a1cf8b784ef0 /lib/cpu-notifier-error-inject.c
parent401d10dee083bda281f2fdcdf654080313ba30ec (diff)
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 <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions