On Tue, Dec 08, 2009 at 11:11:29AM -0500, 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.  So, if the machine description
> has no parallel port, QEMU should not create a default one when you load
> it with -readconfig.

Shouldn't  -writeconfig just  add '-nodefaults' to the config it
generates ?

That way if someone instead creates a configfile by hand, copying in
their existing QEMU args they still get default devices which matches 
behaviour of their existing CLI args.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


Reply via email to