From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8bA2-0007HY-Lj for qemu-devel@nongnu.org; Mon, 03 Sep 2012 14:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8bA1-0001SQ-Ih for qemu-devel@nongnu.org; Mon, 03 Sep 2012 14:14:10 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:54083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8bA1-0001RS-AZ for qemu-devel@nongnu.org; Mon, 03 Sep 2012 14:14:09 -0400 Message-ID: <5044F367.5080300@msgid.tls.msk.ru> Date: Mon, 03 Sep 2012 22:13:59 +0400 From: Michael Tokarev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] apparently missing yet another notify_event() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel There's a new bugreport filed against qemu-kvm in debian, which looks very similar to what we already had before -- https://bugs.launchpad.net/qemu/+bug/1021649 which were fixed by adding qemu_notify_event() call. Later on these qemu_notify_event() calls become unnecessary as far as I remember. But here is a new one. qemu -nographic -kernel /boot/vmlinuz-$(uname -r) -append console=ttyS0 -serial pty This will hang with 100% CPU usage until something is sent to the pty. key is enough. It does the same on qemu and kvm, with and without -enable-kvm, and it looks pretty much like another forgotten notify_event. And it happens on 1.1 and 1.2-tobe (today qemu/master), so should be fixed before 1.2 is released. Note: libvirt uses pty-redirected serial port heavily, and this is where the users are hit, exactly. The longer -serial specification (-chardev pty, -device isa-serial) triggers it too. What's missing this time? (http://bugs.debian.org/686524 is the original bugreport). Thanks, /mjt