poky-qemu qemumips nographic serial results in the following error: Running qemu-system-mips... /home/mhatle/git/poky/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-mips -kernel /home/mhatle/git/poky/build/tmp/deploy/images/vmlinux-qemumips.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M malta -hda /home/mhatle/git/poky/build/tmp/deploy/images/poky-image-sato-qemumips.ext3 -no-reboot -vga cirrus -show-cursor -usb -usbdevice wacom-tablet -no-reboot -nographic -serial stdio --append "root=/dev/hda console=ttyS0 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M console=ttyS0" chardev: opening backend "stdio" failed qemu: could not open serial device 'stdio': Success Set 'tap0' nonpersistent Releasing lockfile of preconfigured tap device 'tap0' While it says "success", it failed and QEMU quit.
Mark, This is right behavior of qemu rather than one bug. When specifying nographic(which means no graphics card), qemu tried to recirect guest text console to "stdio". When specifying serial, our scripts would append "-serial stdio" to qemu. So if you spefciying both, there is conflict so that qemu refuse to open stdio for 2nd time and exit. Why do you need specify both? In general, picking up on should be enough.
I specified both because simply adding nographics wasn't working, and was crashing. I strongly suggest that if both nographics and serial are selected, that the proper behavior occurs and the system is made to work without an error. I don't think it will be unusual for someone to read the help and select both and expect it to work.