From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQcVq-0003If-IO for qemu-devel@nongnu.org; Wed, 16 Nov 2011 05:14:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQcVm-0007q9-Dm for qemu-devel@nongnu.org; Wed, 16 Nov 2011 05:14:38 -0500 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:49509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQcVl-0007ps-Ob for qemu-devel@nongnu.org; Wed, 16 Nov 2011 05:14:34 -0500 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 Nov 2011 10:12:40 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pAGAB3ua725076 for ; Wed, 16 Nov 2011 21:11:12 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pAGAECvL021873 for ; Wed, 16 Nov 2011 21:14:13 +1100 Message-ID: <4EC38CF2.7000707@linux.vnet.ibm.com> Date: Wed, 16 Nov 2011 18:14:10 +0800 From: hkran MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Windows 7 shutdown causes BSOD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Michael Tokarev , qemu-devel , "Mars.Cao" On 11/15/2011 09:17 PM, Stefan Hajnoczi wrote: > On Fri, Nov 4, 2011 at 11:25 AM, Stefan Hajnoczi wrote: >> On Fri, Nov 4, 2011 at 10:48 AM, Stefan Hajnoczi wrote: >>> Windows 7 32-bit guest blue screens when I shut it down properly with >>> Start | Shut Down. The blue screen is only displayed for a split >>> second before the guest reboots so I am not able to easily tell what >>> it says. My guess is that Windows is triple-faulting or soft >>> rebooting - note that I told Windows to shut down, not reboot. >>> >>> This issue happens on qemu.git/master (and Debian kvm 0.14.1+dfsg-3). >>> Here is the QEMU command-line: >>> >>> x86_64-softmmu/qemu-system-x86_64 -L pc-bios -cpu qemu32 -enable-kvm >>> -m 1024 -rtc base=localtime -drive >>> file=win7.img,if=none,id=drive-ide0-0-0,format=raw -device >>> ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 >>> >>> Questions: >>> >>> Is anyone else experiencing this? >>> >>> Is anyone fixing this? >>> >>> If not I will play with it. Disabling ACPI might reveal the source of >>> the problem. If that turns up nothing I will try to get the BSOD or >>> WinDbg output. >> Thanks to Andreas Faerber and Michael Tokarev I found out the >> automatic reboot can be disabled in Windows. Here is the BSOD >> information: >> >> IRQL_NOT_LESS_OR_EQUAL >> STOP: 0x0000000A (0x00000000,0x000000FF,0x00000001,0x828B7220) > This decodes to: > "Windows or a kernel-mode driver accessed paged memory at > DISPATCH_LEVEL or above." > > Memory referenced: 0x00000000 > IRQL: 0xff > Read/write: Write (1) > Address which referenced memory: 0x828B7220 > > http://msdn.microsoft.com/en-us/library/ff560129%28v=VS.85%29.aspx > > Looks like a NULL pointer reference or maybe a deliberate "we should > never get here" failure. > > Stefan > I can reproduce this bug in my environment and found out that it has something with the type of "CPU". I tried the command line args as the same as Stefan's and definitely casue the BSOD. If i change the "-cpu qemu32" to "-cpu qemu64" or "-cpu core2duo" or nothing. it will shutdown as expected, that means something?