Received: from eggs.gnu.org ([208.118.235.92]:35774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgBwz-0004LU-1t for qemu-devel@nongnu.org; Wed, 05 Dec 2012 05:11:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgBwu-0006yZ-2o for qemu-devel@nongnu.org; Wed, 05 Dec 2012 05:11:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgBwt-0006xh-NN for qemu-devel@nongnu.org; Wed, 05 Dec 2012 05:11:27 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB5ABQQr011355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 5 Dec 2012 05:11:26 -0500 From: Gerd Hoffmann Date: Wed, 5 Dec 2012 11:11:19 +0100 Message-Id: <1354702284-13518-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1354702284-13518-1-git-send-email-kraxel@redhat.com> References: <1354702284-13518-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 1/6] add pc-1.4 List-Id: 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_piix.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index aa3e7f4..040cd07 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -281,8 +281,8 @@ static void pc_xen_hvm_init(QEMUMachineInitArgs *args) } #endif -static QEMUMachine pc_machine_v1_3 = { - .name = "pc-1.3", +static QEMUMachine pc_machine_v1_4 = { + .name = "pc-1.4", .alias = "pc", .desc = "Standard PC", .init = pc_init_pci_1_3, @@ -290,6 +290,16 @@ static QEMUMachine pc_machine_v1_3 = { .is_default = 1, }; +static QEMUMachine pc_machine_v1_3 = { + .name = "pc-1.3", + .desc = "Standard PC", + .init = pc_init_pci_1_3, + .max_cpus = 255, + .compat_props = (GlobalProperty[]) { + { /* end of list */ } + }, +}; + #define PC_COMPAT_1_2 \ {\ .driver = "nec-usb-xhci",\ @@ -626,6 +636,7 @@ static QEMUMachine xenfv_machine = { static void pc_machine_init(void) { + qemu_register_machine(&pc_machine_v1_4); qemu_register_machine(&pc_machine_v1_3); qemu_register_machine(&pc_machine_v1_2); qemu_register_machine(&pc_machine_v1_1); -- 1.7.1