qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Jiri Denemark <jdenemar@redhat.com>
Subject: [Qemu-devel] [RFC PATCH 0/3] Move CPU model config file to /usr/share
Date: Mon, 19 Mar 2012 12:08:39 -0300	[thread overview]
Message-ID: <1332169722-11126-1-git-send-email-ehabkost@redhat.com> (raw)

This is a RFC, but I really want to include this on Qemu 1.1.

This will allow libvirt to reuse our CPU defs starting on Qemu 1.1, and will
give us some freedom to change the syntax and semantics of the cpudef sections,
as long as we keep the config file at the same place.

Making this change earlier will benefit users that use Qemu directly but simply
want to use the default CPU models (they won't have to update their config
files on /etc once we change the way cpudefs work), and libvirt, that will
finally be able to reuse the existing CPU models.

This series should be applied on top of both the "./configure --confdir" and
the "-readconfig fd=<fd>" series I submitted earlier today.

Eduardo Habkost (3):
  move list of default config files to qemu-config-arch.c
  implement -readconfig help=defconfig option
  move cpudef config sections to /usr/share/qemu/cpudefs-x86_64.conf

 Makefile                              |    2 +
 arch_init.c                           |    1 -
 arch_init.h                           |    2 -
 qemu-config-arch.c                    |   68 +++++++++++++++++-
 qemu-config-arch.h                    |    4 +
 sysconfigs/target/cpudefs-x86_64.conf |  127 ++++++++++++++++++++++++++++++++
 sysconfigs/target/target-x86_64.conf  |  128 ---------------------------------
 vl.c                                  |   12 +---
 8 files changed, 203 insertions(+), 141 deletions(-)
 create mode 100644 sysconfigs/target/cpudefs-x86_64.conf

-- 
1.7.3.2

             reply	other threads:[~2012-03-19 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 15:08 Eduardo Habkost [this message]
2012-03-19 15:08 ` [Qemu-devel] [RFC PATCH 1/3] move list of default config files to qemu-config-arch.c Eduardo Habkost
2012-03-19 15:08 ` [Qemu-devel] [RFC PATCH 2/3] implement -readconfig help=defconfig option Eduardo Habkost
2012-03-19 15:08 ` [Qemu-devel] [RFC PATCH 3/3] move cpudef config sections to /usr/share/qemu/cpudefs-x86_64.conf Eduardo Habkost

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=1332169722-11126-1-git-send-email-ehabkost@redhat.com \
    --to=ehabkost@redhat.com \
    --cc=jdenemar@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).