qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add glob


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option.
Date: Tue, 08 Dec 2009 17:34:03 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

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





reply via email to

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