This is the first try of the new -no-user-config option.
Patches 1 to 3 just move some code around, patch 4 just adds the new option
without adding any new config file. Patch 5 finally creates a /usr/share/qemu
/cpus-x86_64.conf file, with the CPU models we currently have on Qemu.
Reference to previous discussion:
-
http://marc.info/?l=qemu-devel&m=133278877315665
This series depends on the following:
Subject: [PATCH v5 00/14] configure: --with-confsuffix option
Message-Id: <1334778950-18660-1-git-send-email-ehabkost(a)redhat.com>
Eduardo Habkost (5):
move code to read default config files to a separate function
eliminate arch_config_name variable
move list of default config files to an array
implement -no-user-config command-line option
move CPU definitions to /usr/share/qemu/cpus-x86_64.conf
Makefile | 12 +++-
arch_init.c | 31 ++++++++-
arch_init.h | 6 +-
qemu-options.hx | 16 ++++-
sysconfigs/target/cpus-x86_64.conf | 128 ++++++++++++++++++++++++++++++++++
sysconfigs/target/target-x86_64.conf | 128 ----------------------------------
vl.c | 14 ++--
7 files changed, 190 insertions(+), 145 deletions(-)
create mode 100644 sysconfigs/target/cpus-x86_64.conf
--
1.7.3.2