提交 95747581 编写于 作者: M Mark McLoughlin 提交者: Anthony Liguori

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: NMark McLoughlin <markmc@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 3f6599e6
...@@ -1512,7 +1512,8 @@ void cmos_set_s3_resume(void) ...@@ -1512,7 +1512,8 @@ void cmos_set_s3_resume(void)
} }
static QEMUMachine pc_machine = { static QEMUMachine pc_machine = {
.name = "pc", .name = "pc-0.11",
.alias = "pc",
.desc = "Standard PC", .desc = "Standard PC",
.init = pc_init_pci, .init = pc_init_pci,
.max_cpus = 255, .max_cpus = 255,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册