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 <[email protected]> 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 <[email protected]> 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:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: 2.6.23-rc1, KVM-AMD problem
- From: Alistair John Strachan <[email protected]>
- Re: 2.6.23-rc1, KVM-AMD problem
- References:
- 2.6.23-rc1, KVM-AMD problem
- From: Alistair John Strachan <[email protected]>
- Re: 2.6.23-rc1, KVM-AMD problem
- From: Alistair John Strachan <[email protected]>
- Re: 2.6.23-rc1, KVM-AMD problem
- From: Avi Kivity <[email protected]>
- 2.6.23-rc1, KVM-AMD problem
- Prev by Date: Re: [PATCH 72] drivers/mmc/core/sdio_bus.c: kmalloc + memset conversion to kzalloc
- Next by Date: 2.6.23-rc2 3com vortex boot g
- Previous by thread: Re: 2.6.23-rc1, KVM-AMD problem
- Next by thread: Re: 2.6.23-rc1, KVM-AMD problem
- Index(es):