qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/2] Add a pc-0.11 machine type and make the pc type


From: Mark McLoughlin
Subject: [Qemu-devel] [PATCH 2/2] Add a pc-0.11 machine type and make the pc type an alias
Date: Wed, 22 Jul 2009 10:02:51 +0100

The pc-0.11 type allows users of qemu-0.11 to use a machine type which
they know will remain compatible when the upgrade to qemu-0.12.

Management tools may choose to canonicalize the 'pc' machine type to
'pc-0.11' so that if the 'pc' alias changes target in future versions
of qemu, the machine type used will remain compatible.

Signed-off-by: Mark McLoughlin <address@hidden>
---
 hw/pc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index a50f23d..c55c303 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1512,7 +1512,8 @@ void cmos_set_s3_resume(void)
 }
 
 static QEMUMachine pc_machine = {
-    .name = "pc",
+    .name = "pc-0.11",
+    .alias = "pc",
     .desc = "Standard PC",
     .init = pc_init_pci,
     .max_cpus = 255,
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]