From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: Windows7 crashes inside the VM when starting a certain program Date: Tue, 26 Jul 2011 13:08:09 +0300 Message-ID: <20110726100809.GK4404@redhat.com> References: <4E154370.5090101@web.de> <4E2E50A0.3040706@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: =?utf-8?B?QW5kcsOp?= Weidemann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24158 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752745Ab1GZKIL convert rfc822-to-8bit (ORCPT ); Tue, 26 Jul 2011 06:08:11 -0400 Content-Disposition: inline In-Reply-To: <4E2E50A0.3040706@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jul 26, 2011 at 07:29:04AM +0200, Andr=C3=A9 Weidemann wrote: > On 07.07.2011 07:26, Andr=C3=A9 Weidemann wrote: > >Hi, > >I am running Windows7 x64 in a VM which crashes after starting a cer= tain > >game. Actually there are two games both from the same company, that = make > >the VM crash after starting them. > >Windows crashes right after starting the game. With the 1st game the > >screen goes black as usual and the cursor keeps spinning for 3-5 sec= onds > >until Windows crashes. With the second game I get to 3D the login > >screen. The game then crashes after logging in. > >Windows displays this error message on the first crash: > >http://pastebin.com/kMzk9Jif > >Windows then finishes writing the crash dump and restarts. > >I can reproduce Windows crashing every time I start the game while t= he > >VM keeps running without any problems. > >When Windows reboots after the first crash and the game is started > >again, the message on the following blue screen changes slightly and > >stays the same(except for the addresses) for every following crash: > >http://pastebin.com/jVtBc4ZH > > > >I first thought that this might be related to a certain feature in 3= D > >acceleration being used, but Futuremark 3DMark Vantage or 3DMark 11 = run > >without any problems. They run a bit choppy on some occasions, but d= o > >that without crashing Windows7 or the VM. > > > >How can I proceed to investigate what is going wrong? >=20 > I did some testing and found out that Windows7 does not crash > anymore when changing "-cpu host" to "-cpu Nehalem". After doing so, What is your host cpu (cat /proc/cpuinfo)? > the "only" thing crashing, is the application itself. > Why is that? What is different between the "real" CPU and the one > provided by qemu-kvm? How can "-cpu host" cause Windows7 to crash, > while "-cpu Nehalem" "only" crashes the application. >=20 > I then had WinDbg attach to the process in question. When the game > crashes the debugger reports an Assertion Failure. This seems so > happen as soon as the game accesses the network through a certain > DLL. > To exclude the emulated e1000 hardware as the cause, I removed it > from the VM and passed an Intel network card 82574L to it using > these lines: >=20 > -device pci-assign,host=3D04:00.0,id=3D82574L,addr=3D0x10 \ > -net none \ >=20 > The network card works under Windows7, but the problem of the > crashing game remains. >=20 > Any ideas on how to track the problem are greatly appreciated. >=20 >=20 > Regards > Andr=C3=A9 > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Gleb.