qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC PATCH 0/3] Move CPU model config file to /usr/share


From: Eduardo Habkost
Subject: [Qemu-devel] [RFC PATCH 0/3] Move CPU model config file to /usr/share
Date: Mon, 19 Mar 2012 12:08:39 -0300

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 via email to

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