From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui0hG-0005RA-Vz for qemu-devel@nongnu.org; Thu, 30 May 2013 07:07:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui0hA-0002jZ-Mi for qemu-devel@nongnu.org; Thu, 30 May 2013 07:07:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui0hA-0002jS-FA for qemu-devel@nongnu.org; Thu, 30 May 2013 07:07:00 -0400 Date: Thu, 30 May 2013 14:07:25 +0300 From: "Michael S. Tsirkin" Message-ID: <1369911913-10934-5-git-send-email-mst@redhat.com> References: <1369911913-10934-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369911913-10934-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PATCH v2 4/5] pc: add 1.6 compat type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori Identical to 1.5 ATM, but changes will accumulate. Signed-off-by: Michael S. Tsirkin --- hw/i386/pc_piix.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index eaff0b6..2717d83 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -57,6 +57,7 @@ static const int ide_iobase2[MAX_IDE_BUS] = { 0x3f6, 0x376 }; static const int ide_irq[MAX_IDE_BUS] = { 14, 15 }; static bool has_pvpanic = true; +static bool has_pci_info = true; /* PC hardware initialisation */ static void pc_init1(MemoryRegion *system_memory, @@ -340,9 +341,19 @@ static void pc_xen_hvm_init(QEMUMachineInitArgs *args) } #endif +static QEMUMachine pc_i440fx_machine_v1_6 = { + .name = "pc-i440fx-1.6", + .alias = "pc", + .desc = "Standard PC (i440FX + PIIX, 1996)", + .init = pc_init_pci, + .hot_add_cpu = pc_hot_add_cpu, + .max_cpus = 255, + .is_default = 1, + DEFAULT_MACHINE_OPTIONS, +}; + static QEMUMachine pc_i440fx_machine_v1_5 = { .name = "pc-i440fx-1.5", - .alias = "pc", .desc = "Standard PC (i440FX + PIIX, 1996)", .init = pc_init_pci, .hot_add_cpu = pc_hot_add_cpu, -- MST