From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Tim Dempsey <trdempsey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: KVM-49 crash on XP(SP2) install
Date: Mon, 05 Nov 2007 17:47:28 +0200 [thread overview]
Message-ID: <472F3B10.905@qumranet.com> (raw)
In-Reply-To: <4727DB3D.6050704-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
Avi Kivity wrote:
>
>> Code: 31 d9 31 f8 09 c1 74 2b 8b 0c 24 b8 01 00 00 00 31 db 89 86 74
>> 0d 00 00 89
>> ea 89 f8 09 da 81 e1 01 08 00 00 09 c8 b9 80 00 00 c0 <0f> 30 ff 86
>> b0 00 00 00
>> 8b 5c 24 08 8b 74 24 0c 8b 7c 24 10 8b
>> EIP: [<f8f99222>] vmx_save_host_state+0x132/0x190 [kvm_intel] SS:ESP
>>
>
> Hmm, the EFER-less T2600 strikes again. I'll prepare a patch.
>
Sorry, forgot about this, but a guilty conscience reminded me. Does the
attached patch help?
--
Any sufficiently difficult bug is indistinguishable from a feature.
[-- Attachment #2: no-efer-on-some-cpus.patch --]
[-- Type: text/x-patch, Size: 390 bytes --]
diff --git a/kernel/vmx.c b/kernel/vmx.c
index 42e7fad..f4cb3c1 100644
--- a/kernel/vmx.c
+++ b/kernel/vmx.c
@@ -370,6 +370,8 @@ static void load_transition_efer(struct vcpu_vmx *vmx)
u64 guest_efer = vmx->guest_msrs[efer_offset].data;
u64 ignore_bits;
+ if (efer_offset < 0)
+ return;
/*
* NX is emulated; LMA and LME handled by hardware; SCE meaninless
* outside long mode
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2007-11-05 15:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 23:35 KVM-49 crash on XP(SP2) install Tim Dempsey
[not found] ` <95c807760710301635t497f0e00y75350cfabf9fb907-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-31 1:32 ` Avi Kivity
[not found] ` <4727DB3D.6050704-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-05 15:47 ` Avi Kivity [this message]
[not found] ` <472F3B10.905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-05 23:04 ` Tim Dempsey
[not found] ` <95c807760711051504h2cd7f49aw26569d93c4ee3ac4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-06 9:03 ` Avi Kivity
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=472F3B10.905@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=trdempsey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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