On 12/08/09 17:11, Paolo Bonzini wrote:
Add global command line option to disable default devices.
Should -readconfig imply this?
Hmm, not sure. Why do you think this would be useful?
Here is my thinking: if you used -writeconfig, your machine description
is (at least in theory) entirely included in the config file including
(again in theory) the default devices.
The default devices are *not* included by in the file created by
-writeconfig. So I tend to thing -readconfig should not automagically
turn on -nodefaults to avoid unpleasent surprises for users.
Devices created via -readconfig are treated like devices created via
[device] sections in the config file. So it doesn't matter whenever you
configure your isa-serial device via command line or config file, in any
case it will make qemu not create the default serial port.
cheers,
Gerd