From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJRw-00067Q-Oc for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:46:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcJRu-0006mp-Sx for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:46:40 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:47002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJRu-0006mM-KM for qemu-devel@nongnu.org; Thu, 30 Jun 2011 11:46:38 -0400 Received: by mail-qw0-f45.google.com with SMTP id 8so1382117qwj.4 for ; Thu, 30 Jun 2011 08:46:38 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 30 Jun 2011 17:46:15 +0200 Message-Id: <1309448777-1447-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1309448777-1447-1-git-send-email-pbonzini@redhat.com> References: <1309448777-1447-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [RFC PATCH 2/4] add pc-0.14 machine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The new pc-0.15 machine will have a different migration format, so define the compatibility one right now. Signed-off-by: Paolo Bonzini --- hw/pc_piix.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index c5c16b4..18cc942 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -258,7 +258,7 @@ static void pc_xen_hvm_init(ram_addr_t ram_size, #endif static QEMUMachine pc_machine = { - .name = "pc-0.14", + .name = "pc-0.15", .alias = "pc", .desc = "Standard PC", .init = pc_init_pci, @@ -266,6 +266,13 @@ static QEMUMachine pc_machine = { .is_default = 1, }; +static QEMUMachine pc_machine_v0_14 = { + .name = "pc-0.14", + .desc = "Standard PC", + .init = pc_init_pci, + .max_cpus = 255, +}; + static QEMUMachine pc_machine_v0_13 = { .name = "pc-0.13", .desc = "Standard PC", @@ -482,6 +489,7 @@ static QEMUMachine xenfv_machine = { static void pc_machine_init(void) { qemu_register_machine(&pc_machine); + qemu_register_machine(&pc_machine_v0_14); qemu_register_machine(&pc_machine_v0_13); qemu_register_machine(&pc_machine_v0_12); qemu_register_machine(&pc_machine_v0_11); -- 1.7.5.2