On 03/31/2010 06:29 PM, Aurelien Jarno wrote:
On Wed, Mar 31, 2010 at 06:19:45PM +0200, Michal Suchanek<[email protected]>  
wrote:
Package: qemu-system
Version: 0.12.3+dfsg-2.1
Severity: normal


qemu -serial stdio

allows communicationg with the system over the standard input/output but
pressing ^C does not pass the signal to the serial port. It kills qemu
instead.

You have to ask for the signaling to not be interpreted by QEMU. This
can be done in two ways:
- using the -nographic option (which also disable the display)
- creating a chardev with signaling off, and assigning it to the serial
   port: -chardev stdio,signal=off,id=serial0 -serial chardev:serial0

Nographic does not work for me.

Is that a bug or is it expected?

$ qemu-system-ppc -m 1024 -serial stdio -net nic -net tap,ifname=tap0,script=no,downscript=no ppc.img -cdrom debian-504-powerpc-netinst.iso -boot c -nographic
chardev: opening backend "stdio" failed

and chardev does work so long as graphics is enabled (not that I would figure out that -serial stdio should be replaced with that)

$ qemu-system-ppc -m 1024 -chardev stdio,signal=off,id=serial0 -serial chardev:serial0 -net nic -net tap,ifname=tap0,script=no,downscript=no ppc.img -cdrom debian-504-powerpc-netinst.iso -boot c

which is sort of annoying but I guess I can redirect graphics to VNC. VNC is unusable for me due to key repeat issues but that's what the serial input should work around.


Thanks

Michal



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to