Blame pc-add-a-Fedora-13-machine-type-for-backward-compat.patch
|
Justin M. Forbes |
a81953 |
From: Justin M. Forbes <jforbes@redhat.com>
|
|
Justin M. Forbes |
a81953 |
Date: Thu, Aug 19 09:13:45 2010 -0500
|
|
Justin M. Forbes |
a81953 |
Subject: pc: Add a Fedora-13 machine type for backwards compatibility.
|
|
Justin M. Forbes |
a81953 |
|
|
Justin M. Forbes |
a81953 |
In Fedora 13 a fedora-13 machine type was added as default to allow
|
|
Justin M. Forbes |
a81953 |
interaction with upstream stable qemu which did not support the same
|
|
Justin M. Forbes |
a81953 |
feature set. As a result we need to support this machine type through
|
|
Justin M. Forbes |
a81953 |
the Fedora 15 release.
|
|
Justin M. Forbes |
a81953 |
|
|
Justin M. Forbes |
a81953 |
|
|
Justin M. Forbes |
a81953 |
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
|
|
Justin M. Forbes |
a81953 |
index 9e4bac8..eb1ed05 100644
|
|
Justin M. Forbes |
a81953 |
--- a/hw/pc_piix.c
|
|
Justin M. Forbes |
a81953 |
+++ b/hw/pc_piix.c
|
|
Justin M. Forbes |
6a630c |
@@ -266,6 +266,14 @@ static QEMUMachine pc_machine_v0_13 = {
|
|
Justin M. Forbes |
6a630c |
},
|
|
Justin M. Forbes |
a81953 |
};
|
|
Justin M. Forbes |
6a630c |
|
|
Justin M. Forbes |
a81953 |
+static QEMUMachine pc_machine_f13 = {
|
|
Justin M. Forbes |
a81953 |
+ .name = "fedora-13",
|
|
Justin M. Forbes |
a81953 |
+ .desc = "Standard PC",
|
|
Justin M. Forbes |
a81953 |
+ .init = pc_init_pci,
|
|
Justin M. Forbes |
a81953 |
+ .max_cpus = 255,
|
|
Justin M. Forbes |
a81953 |
+ .is_default = 0,
|
|
Justin M. Forbes |
a81953 |
+};
|
|
Justin M. Forbes |
a81953 |
+
|
|
Justin M. Forbes |
a81953 |
static QEMUMachine pc_machine_v0_12 = {
|
|
Justin M. Forbes |
a81953 |
.name = "pc-0.12",
|
|
Justin M. Forbes |
a81953 |
.desc = "Standard PC",
|
|
Justin M. Forbes |
6a630c |
@@ -397,6 +405,7 @@ static QEMUMachine isapc_machine = {
|
|
Justin M. Forbes |
a81953 |
static void pc_machine_init(void)
|
|
Justin M. Forbes |
a81953 |
{
|
|
Justin M. Forbes |
a81953 |
qemu_register_machine(&pc_machine);
|
|
Justin M. Forbes |
a81953 |
+ qemu_register_machine(&pc_machine_f13);
|
|
Justin M. Forbes |
6a630c |
qemu_register_machine(&pc_machine_v0_13);
|
|
Justin M. Forbes |
a81953 |
qemu_register_machine(&pc_machine_v0_12);
|
|
Justin M. Forbes |
a81953 |
qemu_register_machine(&pc_machine_v0_11);
|