From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: WinXP virtual crashes on 0.12.1.2 but not 0.12.1.1 Date: Wed, 6 Jan 2010 14:33:36 +0200 Message-ID: <20100106123335.GK4905@redhat.com> References: <4B43643F.8090303@siriusit.co.uk> <4B4373A8.8050807@redhat.com> <4B44731A.4020405@siriusit.co.uk> <20100106122918.GA27519@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark Cave-Ayland , Avi Kivity , kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27867 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755600Ab0AFMdo (ORCPT ); Wed, 6 Jan 2010 07:33:44 -0500 Content-Disposition: inline In-Reply-To: <20100106122918.GA27519@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jan 06, 2010 at 10:29:18AM -0200, Marcelo Tosatti wrote: > On Wed, Jan 06, 2010 at 11:25:14AM +0000, Mark Cave-Ayland wrote: > > Avi Kivity wrote: > > > >>> I think I'm experiencing a regression with the new qemu-kvm-0.12.1.2 > >>> release compared to qemu-kvm-0.12.1.1 with a WinXP guest on Linux. > >>> > >>> I can boot my WinXP guest without a problem under qemu-kvm-0.12.1.1, > >>> however under qemu-kvm-0.12.1.2 a couple of seconds after reaching > >>> the login screen, the WinXP guest goes BSOD with the following error: > >>> DRIVER_UNLOADED_WITHOUT_CANCELING_PENDING_OPERATIONS. > >>> > >>> I've confirmed by switching between the two installations several > >>> times that the error consistently occurs with qemu-kvm-0.12.1.2 but > >>> not qemu-kvm-0.12.1.1. Is this a known issue? This is on an x86_64 > >>> Debian Lenny host with a 2.6.32.2 kernel on Intel. > >> > >> It's not a known issue. What's your command line? What's your host > >> cpu type? > > > > Hi Avi, > > > > Good news - I downloaded the userspace git repository and managed to > > identify the offending commit between 0.12.1.1 and 0.12.1.2 using git > > bisect: > > > > > > 4dad7ff32aa6dcf18cef0c606d8fb43ff0b939a1 is first bad commit > > commit 4dad7ff32aa6dcf18cef0c606d8fb43ff0b939a1 > > Author: Avi Kivity > > Date: Mon Dec 28 10:48:00 2009 +0200 > > > > Reinstate cpuid vendor override when kvm is enabled > > > > Due to upstream qemu changes we no longer expose the host cpu vendor id > > to the guest. This leads to failures when the syscall/sysenter > > instructions > > are used in compatibility mode. > > > > Change the default to override when kvm is enabled. > > > > Signed-off-by: Avi Kivity > > Signed-off-by: Marcelo Tosatti > > > > > > HTH, > > > > Mark. > > Mark, > > Thanks for tracking it down. Is there any difference with "-cpu host" > option? > And what output of "cat /proc/cpuinfo" on the host looks like? -- Gleb.