From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRSYj-0007n1-QI for qemu-devel@nongnu.org; Mon, 07 May 2012 14:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRSYh-0004ks-WF for qemu-devel@nongnu.org; Mon, 07 May 2012 14:21:21 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:46495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRSYh-0004ki-P3 for qemu-devel@nongnu.org; Mon, 07 May 2012 14:21:19 -0400 Message-ID: <4FA8129C.2080609@msgid.tls.msk.ru> Date: Mon, 07 May 2012 22:21:16 +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> <4FA7E00E.5090305@msgid.tls.msk.ru> <4FA7EB25.9010009@siemens.com> <4FA80B09.40107@msgid.tls.msk.ru> <4FA80F55.9030604@siemens.com> In-Reply-To: <4FA80F55.9030604@siemens.com> 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 22:07, Jan Kiszka wrote: > On 2012-05-07 14:48, Michael Tokarev wrote: >> On 07.05.2012 19:32, Jan Kiszka wrote: >>> On 2012-05-07 11:45, Michael Tokarev wrote: >> [] >>>> $ ./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 >>> >>> Can you check if -global apic.vapic=off makes any difference in the >>> broken case? I'm facing general issues in that setup once I enable >>> virtio-block - independent of vapic on/off or in-kernel/userspace. The >>> boot freezes, and qemu can only be terminated via kill -9. So, retrying >>> with IDE as block interface would also be interesting. >> >> Both switching from virtio to ide and disabling vapic fixes the reboot >> issue, so win guests starts rebooting fine. > > You mean doing both at the same time, or also when you only apply one > workaround? For me, disabling the vapic had _no_ impact, only disabling > virtio allowed to boot at all. One at a time - either vapic=off or virtio=>ide. Both at once also works. I just rechecked, -- yes indeed, any of the two is enought to make win guest to reboot fine. Sorry for being unclean. > I suspect something is subtly broken in qemu, and it is not directly > related to the vapic, maybe even not virtio. Well, might be, in your case.. ;) Yes I understand that you've hit different issue there. Just like me while trying to bisect it, -- I've hit the -vga std non-functioning somewhere in between 1.0 and current ;) The issue I'm hitting is quite "reliable", so to say. Thanks, /mjt