All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option.
Date: Tue, 8 Dec 2009 16:32:23 +0000	[thread overview]
Message-ID: <20091208163223.GK16596@redhat.com> (raw)
In-Reply-To: <1862782368.1376061260288689974.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>

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	other threads:[~2009-12-08 16:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1236361906.1375741260288537008.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2009-12-08 16:11 ` [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option Paolo Bonzini
2009-12-08 16:32   ` Daniel P. Berrange [this message]
2009-12-08 16:34   ` Gerd Hoffmann
2009-12-08 16:39     ` Paolo Bonzini
2009-12-07 12:42 [Qemu-devel] [FOR 0.12 PATCH v3 00/21] default devices: qdev integration Gerd Hoffmann
2009-12-07 12:42 ` [Qemu-devel] [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option Gerd Hoffmann
2009-12-08 12:46   ` [Qemu-devel] " Paolo Bonzini
2009-12-08 15:58     ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091208163223.GK16596@redhat.com \
    --to=berrange@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.