From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQI1s-0006h0-8q for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:41:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQI1m-0006er-N2 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:58 -0400 Received: from [199.232.76.173] (port=36377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQI1m-0006ee-4G for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:54 -0400 Received: from mx2.redhat.com ([66.187.237.31]:36090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQI1l-0004Xe-N5 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:53 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6D9erBV006393 for ; Mon, 13 Jul 2009 05:40:53 -0400 From: Gerd Hoffmann Date: Mon, 13 Jul 2009 11:40:45 +0200 Message-Id: <1247478048-17257-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1247478048-17257-1-git-send-email-kraxel@redhat.com> References: <1247478048-17257-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 4/7] qdev/compat: add pc-0.10 machine type. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/pc.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index ccd2fed..6ba6b25 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1457,6 +1457,16 @@ static QEMUMachine pc_machine = { .is_default = 1, }; +static QEMUMachine pc_machine_v0_10 = { + .name = "pc-0.10", + .desc = "Standard PC, qemu 0.10", + .init = pc_init_pci, + .max_cpus = 255, + .compat_props = (CompatProperty[]) { + { /* end of list */ } + }, +}; + static QEMUMachine isapc_machine = { .name = "isapc", .desc = "ISA-only PC", @@ -1467,6 +1477,7 @@ static QEMUMachine isapc_machine = { static void pc_machine_init(void) { qemu_register_machine(&pc_machine); + qemu_register_machine(&pc_machine_v0_10); qemu_register_machine(&isapc_machine); } -- 1.6.2.5