On 01/07/2010 06:44 AM, Daniel P. Berrange wrote:
NB, QEMU 0.12 introduces a new flag '-nodefaults' that can be used to
get rid of this imlied 'serial stdio', and all other implied devices.
It is well worth using this new -nodefaults flag if you're managing
qemu from an app to avoid these surprises
eg this should work as you'd expect it
qemu -nodefaults -nographic -serial stdio
-nographic is basically equivalent to -serial mon:stdio,signal=on -vga
none except it operates on defaults. Your invocation actually ends up
being very different as it doesn't multiplex the monitor and it doesn't
disable ctrl-c. Basically, your invocation is equivalent to qemu -vga
none -serial stdio
The "bug" is the original invocation's addition of '-serial stdio'.
That was basically ignored previously but you could imagine subtle
changes in semantics (like ctrl-c behavior) that it could and arguably
should have introduced.
Regards,
Anthony Liguori