From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtGw-0002E3-L5 for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtGq-00029I-NA for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:44 -0400 Received: from [199.232.76.173] (port=42384 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtGp-00028k-0I for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:39 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54499) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOtGo-0002Cj-AN for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:38 -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 n69D2b8w016242 for ; Thu, 9 Jul 2009 09:02:37 -0400 From: Gerd Hoffmann Date: Thu, 9 Jul 2009 15:02:30 +0200 Message-Id: <1247144553-8951-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1247144553-8951-1-git-send-email-kraxel@redhat.com> References: <1247144553-8951-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/5] 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