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