[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/6] qdev/compat: add pc-0.10 machine type.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/6] qdev/compat: add pc-0.10 machine type. |
Date: |
Wed, 15 Jul 2009 13:48:22 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/pc.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index bdcec52..76b9a48 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1463,6 +1463,16 @@ static QEMUMachine pc_machine = {
.is_default = 1,
};
+static QEMUMachine pc_machine_v0_10 = {
+ .name = "pc-0.10",
+ .desc = "Standard PC, qemu 0.10",
+ .init = pc_init_pci,
+ .max_cpus = 255,
+ .compat_props = (CompatProperty[]) {
+ { /* end of list */ }
+ },
+};
+
static QEMUMachine isapc_machine = {
.name = "isapc",
.desc = "ISA-only PC",
@@ -1473,6 +1483,7 @@ static QEMUMachine isapc_machine = {
static void pc_machine_init(void)
{
qemu_register_machine(&pc_machine);
+ qemu_register_machine(&pc_machine_v0_10);
qemu_register_machine(&isapc_machine);
}
--
1.6.2.5
- [Qemu-devel] [PATCH 0/6] qdev: compat properties., Gerd Hoffmann, 2009/07/15
- [Qemu-devel] [PATCH 1/6] cleanup: drop unused struct elements from VirtIOPCIProxy., Gerd Hoffmann, 2009/07/15
- [Qemu-devel] [PATCH 3/6] qdev/compat: add pc-0.10 machine type.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/6] qdev/compat: virtio-blk-pci 0.10 compatibility., Gerd Hoffmann, 2009/07/15
- [Qemu-devel] [PATCH 5/6] qdev/compat: virtio-console-pci 0.10 compatibility., Gerd Hoffmann, 2009/07/15
- [Qemu-devel] [PATCH 2/6] qdev/compat: compat property infrastructure., Gerd Hoffmann, 2009/07/15
- [Qemu-devel] [PATCH 6/6] qdev/compat: virtio-net-pci 0.10 compatibility., Gerd Hoffmann, 2009/07/15