On (Thu) 29 Dec 2011 [13:47:43], Christian Borntraeger wrote: > From: Christian Borntraeger <borntrae...@de.ibm.com> > > when I tried qemu with -virtio-console pty the guest hangs and attaching on > /dev/pts/<x> does > not return anything if the attachement is too late. > Turns out that the console is already throttled and the guest is heavily > spinning but get_buf > never returns the buffer. There seems to be no way for the console to > unthrottle the port.
It doesn't really get throttled, since the throttling enabling/disabling isn't yet done in QEMU. What happens is that the chardev buffer gets filled up and qemu_chr_fe_write() doesn't return -- send_all() keeps spinning. I'll adjust the commit log message and submit. Thanks. Amit