From: Avi Kivity <avi@qumranet.com>
To: Yunfeng Zhao <yunfeng.zhao@intel.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: KVM Test result, kernel daf4de3.., userspace 724f8a9.. One new issue
Date: Tue, 04 Mar 2008 13:30:25 +0200 [thread overview]
Message-ID: <47CD32D1.3040506@qumranet.com> (raw)
In-Reply-To: <47CCDF37.4050105@intel.com>
Yunfeng Zhao wrote:
> Hi, all,
>
> This is today's KVM test result against kvm.git
> daf4de30ec718b16798aba07e9f25fd9e6ba9e53 and kvm-userspace.git
> 724f8a940ec0e78e607c051e6e82ca2f5055b1e1.
> In today's testing , save/restore crashed host once on pae/ia32e hosts.
> One new issue has been found:
> 1. blue screen when booting 64bits windows guests
> </tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831>
> https://sourceforge.net/tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831
>
>
This was caused by
commit 3a001629eea909b2aa97f001a9db4700f15d986b
Author: Amit Shah <amit.shah@qumranet.com>
Date: Thu Feb 28 16:06:15 2008 +0530
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>
diff --git a/arch/x86/kvm/mmu.h b/arch/x86/kvm/mmu.h
index e64e9f5..d83225e 100644
--- a/arch/x86/kvm/mmu.h
+++ b/arch/x86/kvm/mmu.h
@@ -26,7 +26,7 @@ static inline int kvm_mmu_reload(struct kvm_vcpu *vcpu)
static inline int is_long_mode(struct kvm_vcpu *vcpu)
{
#ifdef CONFIG_X86_64
- return vcpu->arch.shadow_efer & EFER_LME;
+ return vcpu->arch.shadow_efer & EFER_LMA;
#else
return 0;
#endif
I'm reverting that patch.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2008-03-04 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 5:33 KVM Test result, kernel daf4de3.., userspace 724f8a9.. One new issue Yunfeng Zhao
2008-03-04 11:30 ` Avi Kivity [this message]
2008-03-05 10:27 ` Amit Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47CD32D1.3040506@qumranet.com \
--to=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=yunfeng.zhao@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox