Commit 95747581341443e337cb0b485d96432bb414be8f
Committed by
Anthony Liguori
1 parent
3f6599e6
Add a pc-0.11 machine type and make the pc type an alias
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 <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
2 additions
and
1 deletions
hw/pc.c
@@ -1512,7 +1512,8 @@ void cmos_set_s3_resume(void) | @@ -1512,7 +1512,8 @@ void cmos_set_s3_resume(void) | ||
1512 | } | 1512 | } |
1513 | 1513 | ||
1514 | static QEMUMachine pc_machine = { | 1514 | static QEMUMachine pc_machine = { |
1515 | - .name = "pc", | 1515 | + .name = "pc-0.11", |
1516 | + .alias = "pc", | ||
1516 | .desc = "Standard PC", | 1517 | .desc = "Standard PC", |
1517 | .init = pc_init_pci, | 1518 | .init = pc_init_pci, |
1518 | .max_cpus = 255, | 1519 | .max_cpus = 255, |