qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: John Cooper <john.cooper@redhat.com>, Gerd Hoffman <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 0/4] Introduce global config and default devices
Date: Thu, 21 Jan 2010 12:48:49 -0600	[thread overview]
Message-ID: <1264099733-29666-1-git-send-email-aliguori@us.ibm.com> (raw)

This series introduces global config files stored in /etc/qemu.  There is both
a common config (qemu.conf) and a per-target config (target-<TARGET_NAME>.conf).

To demonstrate what can be done with global config, I've also made some
enhancements to the default device code that allows many of the builtin qemu
defaults to be overridden.  For instance, the following config file would always
disable the monitor on stdio and use virtio-net with tun/tap instead of
slirp.

/etc/qemu/qemu.conf:

[default]
  monitor = "stdio"

[net]
 type = "nic"
 default = "on"
 model = "virtio"

[net]
 type = "tap"
 default = "on"

             reply	other threads:[~2010-01-21 18:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 18:48 Anthony Liguori [this message]
2010-01-21 18:48 ` [Qemu-devel] [PATCH 1/4] Support --confdir in configure to specify path to configuration files Anthony Liguori
2010-01-22 12:43   ` [Qemu-devel] " Paolo Bonzini
2010-01-22 14:39     ` Anthony Liguori
2010-01-21 18:48 ` [Qemu-devel] [PATCH 2/4] Load global config files by default Anthony Liguori
2010-01-22 10:33   ` [Qemu-devel] " Gerd Hoffmann
2010-01-21 18:48 ` [Qemu-devel] [PATCH 3/4] Add -defaults option to allow default devices to be overridden Anthony Liguori
2010-01-22 10:15   ` Markus Armbruster
2010-01-22 15:45     ` Anthony Liguori
2010-01-21 18:48 ` [Qemu-devel] [PATCH 4/4] Allow default network type " Anthony Liguori
2010-01-22 11:00   ` [Qemu-devel] " Gerd Hoffmann
2010-01-22 14:44     ` Anthony Liguori

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=1264099733-29666-1-git-send-email-aliguori@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=john.cooper@redhat.com \
    --cc=kraxel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).