peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0013-pc-add-pc-0.15.patch

Justin M. Forbes 45e84a
From a25808dc5baee83f36e0cdab998eb6c0024156fa Mon Sep 17 00:00:00 2001
Justin M. Forbes 45e84a
From: Anthony Liguori <aliguori@us.ibm.com>
Justin M. Forbes 45e84a
Date: Sun, 18 Dec 2011 12:59:12 -0600
Justin M. Forbes 45e84a
Subject: [PATCH 13/25] pc: add pc-0.15
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Justin M. Forbes 45e84a
---
Justin M. Forbes 45e84a
 hw/pc_piix.c |    9 +++++++++
Justin M. Forbes 45e84a
 1 files changed, 9 insertions(+), 0 deletions(-)
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
Justin M. Forbes 45e84a
index 970f43c..9093a28 100644
Justin M. Forbes 45e84a
--- a/hw/pc_piix.c
Justin M. Forbes 45e84a
+++ b/hw/pc_piix.c
Justin M. Forbes 45e84a
@@ -306,6 +306,14 @@ static QEMUMachine pc_machine_v1_0 = {
Justin M. Forbes 45e84a
     .is_default = 1,
Justin M. Forbes 45e84a
 };
Justin M. Forbes 45e84a
Justin M. Forbes 45e84a
+static QEMUMachine pc_machine_v0_15 = {
Justin M. Forbes 45e84a
+    .name = "pc-0.15",
Justin M. Forbes 45e84a
+    .desc = "Standard PC",
Justin M. Forbes 45e84a
+    .init = pc_init_pci,
Justin M. Forbes 45e84a
+    .max_cpus = 255,
Justin M. Forbes 45e84a
+    .is_default = 1,
Justin M. Forbes 45e84a
+};
Justin M. Forbes 45e84a
+
Justin M. Forbes 45e84a
 static QEMUMachine pc_machine_v0_14 = {
Justin M. Forbes 45e84a
     .name = "pc-0.14",
Justin M. Forbes 45e84a
     .desc = "Standard PC",
Justin M. Forbes 45e84a
@@ -557,6 +565,7 @@ static QEMUMachine xenfv_machine = {
Justin M. Forbes 45e84a
 static void pc_machine_init(void)
Justin M. Forbes 45e84a
 {
Justin M. Forbes 45e84a
     qemu_register_machine(&pc_machine_v1_0);
Justin M. Forbes 45e84a
+    qemu_register_machine(&pc_machine_v0_15);
Justin M. Forbes 45e84a
     qemu_register_machine(&pc_machine_v0_14);
Justin M. Forbes 45e84a
     qemu_register_machine(&pc_machine_v0_13);
Justin M. Forbes 45e84a
     qemu_register_machine(&pc_machine_v0_12);
Justin M. Forbes 45e84a
-- 
Justin M. Forbes 45e84a
1.7.7.5
Justin M. Forbes 45e84a