From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR2yT-0005iX-8M for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:48:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR2yN-0005eq-Ue for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:48:36 -0400 Received: from [199.232.76.173] (port=53062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR2yN-0005eU-N0 for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:48:31 -0400 Received: from mx2.redhat.com ([66.187.237.31]:33728) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MR2yN-00042O-7L for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:48:31 -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 n6FBmUrJ014732 for ; Wed, 15 Jul 2009 07:48:30 -0400 From: Gerd Hoffmann Date: Wed, 15 Jul 2009 13:48:22 +0200 Message-Id: <1247658505-838-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1247658505-838-1-git-send-email-kraxel@redhat.com> References: <1247658505-838-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 3/6] 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 bdcec52..76b9a48 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1463,6 +1463,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", @@ -1473,6 +1483,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