From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdOKL-0005D3-30 for qemu-devel@nongnu.org; Fri, 05 Feb 2010 08:34:29 -0500 Received: from [199.232.76.173] (port=57007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdOKK-0005CQ-MB for qemu-devel@nongnu.org; Fri, 05 Feb 2010 08:34:28 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdOKI-0006h9-S5 for qemu-devel@nongnu.org; Fri, 05 Feb 2010 08:34:28 -0500 Received: from 78-86-195-86.zone2.bethere.co.uk ([78.86.195.86]:56079 helo=sentinel1.shatteredsilicon.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NdOKI-0006gv-EH for qemu-devel@nongnu.org; Fri, 05 Feb 2010 08:34:26 -0500 Received: from ariia.shatteredsilicon.net (ariia.shatteredsilicon.net [10.2.3.1]) by sentinel1.shatteredsilicon.net (Postfix) with ESMTP id CD761F8802 for ; Fri, 5 Feb 2010 13:34:24 +0000 (GMT) Message-ID: <4B6C1E60.7000305@bobich.net> Date: Fri, 05 Feb 2010 13:34:24 +0000 From: Gordan Bobic MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: kqemu and XP guest - lock-up at mup.sys References: <4B6B9794.3040507@bobich.net> <4B6C0BC2.1000508@siemens.com> In-Reply-To: <4B6C0BC2.1000508@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jan Kiszka wrote: > Gordan Bobic wrote: >> Hi, >> >> It would appear that kqemu somehow breaks the XP guest under some >> circumstances. >> >> If I install from scratch in qemu+kqemu, it works fine in kqemu, but not >> on bare metal. The fact it doesn't work on bare metal COULD be related >> to the fact that on bare metal I'm running off a USB stick (it's a >> rescue system). >> >> If I install onto bare metal (again, onto a USB stick - I have a >> modified installer that includes the USB disk drivers at setup stage) >> and then start up that install in qemu, that works as long as I don't >> apply kqemu. But if I modprobe kqemu and start with >> -enable-kqemu/-kernel-kqemu (-smp 1 in all cases), the quest instanty >> locks up at 100% CPU usage. Everything else about the qemu configuration >> is exactly the same between the runs. Booting the system with -no-acpi >> at this point causes it to reboot instead of just locking up. >> >> I tried with qemu 0.10.5 (RHEL5 from atrpms) and 0.11.1 (built from >> source). kqemu I use is dkms 1.4.0pre1 from the Dag repository. >> >> With kqemu, the guest stops booting (including safe mode) at mup.sys. >> Googling around for similar problems didn't reveal much of use (other >> than the usual Windows solution to everything of "reinstall", which >> isn't an option here because I need the same setup to work both on bare >> metal and in qemu). Is there a work-around/tweak to make this work? Is >> there any particular reason why kqemu would break things under these >> circumstances when running without kqemu works fine, if slower? Is there >> a difference in how the emulated hardware looks/behaves with and without >> kqemu? > > Due to limitations of the x86 architecture, kqemu used to be far a way > from providing accurate virtualization. KVM is subject to the same limitations, though, so that point is a bit moot. The only reason why I'm using kqemu is because I still have legacy 32-bit hardware around that doesn't have VT extensions. Either way, I'm mainly interested in the details of the differences in the environment provided by qemu with and without kqemu, as clearly it is this difference that causes the problem in question. Gordan