nographic does the same as '-serial stdio' and also hides a QEMU's graphical window. nographic qemu-system-x86_64 -nographic wheezy.qcow2 You will see a welcome string after a successful boot. serial stdio redirects the virtual serial port to the host's terminal input/output. Input/output to the host terminal -serial stdio qemu-system-x86_64 -serial stdio wheezy.qcow2 Input/output through a named pipe (file)ġ.Early boot messages in the host terminal.
Each scenario has been tested on the binaries, links on which I put below in the annex: Binaries used in examples, so you could check it out on your own. Now I've got a pretty decent collection of working recipes to tune up a QEMU guest, so I decided to organize all that stuff here, and it could be definitely useful for anyone else. While struggling to automate QEMU guest (communicate and control with the shell scripts), I faced with a lot of incomplete, partially working solutions around the internet.