qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] -serial stdio broken


From: Anthony Liguori
Subject: Re: [Qemu-devel] -serial stdio broken
Date: Thu, 07 Jan 2010 07:23:24 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]