From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9eCX-0001Ry-Fu for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:08:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9eCS-0000El-NR for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:08:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9eCS-0000ES-FS for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:08:44 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2JF8gbh017654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 19 Mar 2012 11:08:43 -0400 From: Eduardo Habkost Date: Mon, 19 Mar 2012 12:08:39 -0300 Message-Id: <1332169722-11126-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/3] Move CPU model config file to /usr/share List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jiri Denemark 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=" 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