Received: from eggs.gnu.org ([208.118.235.92]:38457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRPC3-00042z-Ai for qemu-devel@nongnu.org; Mon, 07 May 2012 10:45:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRPBx-0008KS-Rf for qemu-devel@nongnu.org; Mon, 07 May 2012 10:45:42 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:43041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRPBx-0008KL-KQ for qemu-devel@nongnu.org; Mon, 07 May 2012 10:45:37 -0400 Message-ID: <4FA7E00E.5090305@msgid.tls.msk.ru> Date: Mon, 07 May 2012 18:45:34 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <4FA6CB05.3060004@msgid.tls.msk.ru> <4FA76682.7090004@msgid.tls.msk.ru> <4FA7D35F.2060908@msgid.tls.msk.ru> <4FA7D9B4.9000607@siemens.com> <4FA7DD9C.4000906@msgid.tls.msk.ru> In-Reply-To: <4FA7DD9C.4000906@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] current qemu git does not work with win7 guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel , Gleb Natapov On 07.05.2012 18:35, Michael Tokarev wrote: > On 07.05.2012 18:18, Jan Kiszka wrote: > [] >> I have a 32-bit WinXP here to test (but not a Win7-32) and will give it > > I just found out that a 32bit guest is not enough. The problem appears > to be with 32bit userspace running under 64bit kernel only. I just > booted a 32bit kernel here on host, and now all windows guests reboot > fine, with and without kvmvapic.bin file. > >> a try later. What irritates me is that qemu.git has a problem here but >> not latest qemu-kvm.git. Both are very similar now. Hmm, what is your >> qemu.git command line again? Does it include "-machine >> accel=kvm,kernel_irqchip=on" (to enable in-kernel irqchip)? > > Rebooting... ;) With kernel_irqchip=on it does not happen with qemu too, just like with qemu-kvm. So only 32bit userspace on 64bit kernel, and only with kernel_irqchip = OFF, and only with 32bit version of win7 or winXP. The kernel line is rather simple: $ ./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -drive file=w7x32sp1.raw,if=virtio,snapshot=on -m 1G -net none -machine accel=kvm,kernel_irqchip=on Thanks! /mjt