From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCXD9-0000Pr-4t for qemu-devel@nongnu.org; Fri, 14 Sep 2012 10:49:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCXD1-0002aT-Tq for qemu-devel@nongnu.org; Fri, 14 Sep 2012 10:49:39 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:39265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCXD1-0002aJ-Lq for qemu-devel@nongnu.org; Fri, 14 Sep 2012 10:49:31 -0400 Message-ID: <505343F9.7020009@msgid.tls.msk.ru> Date: Fri, 14 Sep 2012 18:49:29 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <5044F367.5080300@msgid.tls.msk.ru> <5045A560.4080108@redhat.com> <5045A6AD.8030107@msgid.tls.msk.ru> <50533C73.2080901@msgid.tls.msk.ru> <5053438F.9000601@msgid.tls.msk.ru> In-Reply-To: <5053438F.9000601@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] apparently missing yet another notify_event() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Anthony Liguori On 14.09.2012 18:47, Michael Tokarev wrote: [] >> qemu-kvm -nographic -kernel /boot/vmlinuz-$(uname -r) -append console=ttyS0 -serial pty >> >> This hangs till I send a char to the pty. > > And it is even _more_ twisted than that. > > It depends on the timing. If I connect to the pty "too soon", > it will not stall. > > But if I wait for ~2 seconds or more before connecting, both > qemu and qemu-kvm (and so current qemu/master too) will hang, > requiring a keypress on the pty for the guest to start booting. (For upstream qemu, it only happens with -enable-kvm, not in tcg mode). > Hwell. > > /mjt