From: Prakash Punnoor <prakash-HU31jPUvoIKELgA04lAiVw@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: Alistair John Strachan
<alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>,
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: 2.6.23-rc1, KVM-AMD problem
Date: Sat, 4 Aug 2007 15:17:34 +0200 [thread overview]
Message-ID: <200708041517.37895.prakash@punnoor.de> (raw)
In-Reply-To: <46ADE0DD.1030505-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1736 bytes --]
Am Montag 30 Juli 2007 schrieb Avi Kivity:
> Alistair John Strachan wrote:
[...]
> > Basically, the installer seems to work fine, but Windows seemed to have
> > problems after installing post-SP2 updates. Maybe that's why not
> > everybody is seeing it yet.
>
> How about the attached patch? (I haven't yet tried to reproduce, but
> this can cause an AMD-only oops).
commit 80917728e43e248155c019f743655806b582b099
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date: Mon Jul 30 15:56:36 2007 +0300
KVM: x86 emulator: disable writeback for debug register instructions
These are handled internally by the instruction.
Signed-off-by: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c
index 1a90ba0..2136da5 100644
--- a/drivers/kvm/x86_emulate.c
+++ b/drivers/kvm/x86_emulate.c
@@ -1222,11 +1222,13 @@ twobyte_insn:
}
break;
case 0x21: /* mov from dr to reg */
+ no_wb = 1;
if (modrm_mod != 3)
goto cannot_emulate;
rc = emulator_get_dr(ctxt, modrm_reg, &_regs[modrm_rm]);
break;
case 0x23: /* mov from reg to dr */
+ no_wb = 1;
if (modrm_mod != 3)
goto cannot_emulate;
rc = emulator_set_dr(ctxt, modrm_reg, _regs[modrm_rm]);
Unfortunately this doesn't seem to have made it into 2.6.23-rc2. I need it as
well, to make Windows XP boot up w/o hanging or reebooting my host machine.
Cheers,
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 315 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 #3: 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-08-04 13:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 17:55 2.6.23-rc1, KVM-AMD problem Alistair John Strachan
[not found] ` <200707281855.41277.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-07-29 8:16 ` Avi Kivity
[not found] ` <46AC4CEB.9060401-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-29 11:29 ` Alistair John Strachan
[not found] ` <200707291229.49155.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-07-29 11:34 ` Avi Kivity
[not found] ` <46AC7B44.1040509-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-29 13:44 ` Alistair John Strachan
[not found] ` <200707291444.18024.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-07-29 13:47 ` Avi Kivity
[not found] ` <46AC9A8D.8060003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-29 14:10 ` Alistair John Strachan
[not found] ` <200707291510.31731.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-07-30 13:00 ` Avi Kivity
[not found] ` <46ADE0DD.1030505-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-07-30 17:00 ` Alistair John Strachan
[not found] ` <200707301800.55671.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2007-07-30 17:05 ` Avi Kivity
2007-08-04 13:17 ` Prakash Punnoor [this message]
2007-08-04 14:24 ` Alistair John Strachan
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=200708041517.37895.prakash@punnoor.de \
--to=prakash-hu31jpuvoikelga04laivw@public.gmane.org \
--cc=alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@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