From: Amit Shah Date: Thu, 28 Feb 2008 10:36:15 +0000 (+0530) Subject: KVM: is_long_mode() should check for EFER.LMA X-Git-Tag: v2.6.30-rc1~664^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d6af119206e98764b4ae6d264d63acefcf851e;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed