[Qemu-devel] [Bug 1047470] Re: qemu/kvm hangs reading from serial console

2017-06-22 Thread Buck
... maybe qemu should fcntl(master_fd, F_SETFL, flags | O_NONBLOCK) in qemu-char.c:qemu_char_open_pty() and be prepared to handle E_WOULDBLOCK|E_AGAIN in qemu-char.c:fd_chr_read() ... ? --buck [*] i think, b/c in the old version we are running, sometimes the guest spits out the  

[Qemu-devel] [Bug 1047470] [NEW] qemu/kvm hangs reading from serial console

2012-09-07 Thread Buck
LDBLOCK|E_AGAIN in qemu-char.c:fd_chr_read() ... ? --buck [*] i think, b/c in the old version we are running, sometimes the guest spits out the ^] character to its console, and virsh console reads it and doesn't check to see if its from stdin or the pty and exits, wh

[Qemu-devel] [Bug 1047470] Re: qemu/kvm hangs reading from serial console

2012-09-07 Thread Buck
LOCK|E_AGAIN in qemu-char.c:fd_chr_read() ... ? --buck [*] i think, b/c in the old version we are running, sometimes - the guest spits out the - ^] - character to its console, and virsh console reads it and - doesn't check to see if its from stdin or the pty and