提交 aa78a16d 编写于 作者: P Peter Maydell

hw/i386: Rename 2.13 machine types to 3.0

Rename the 2.13 machine types to match what we're going to
use as our next release number.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: NCornelia Huck <cohuck@redhat.com>
Reviewed-by: NThomas Huth <thuth@redhat.com>
Reviewed-by: NEduardo Habkost <ehabkost@redhat.com>
Message-id: 20180522104000.9044-3-peter.maydell@linaro.org
上级 51f63ec7
...@@ -425,19 +425,19 @@ static void pc_i440fx_machine_options(MachineClass *m) ...@@ -425,19 +425,19 @@ static void pc_i440fx_machine_options(MachineClass *m)
m->default_display = "std"; m->default_display = "std";
} }
static void pc_i440fx_2_13_machine_options(MachineClass *m) static void pc_i440fx_3_0_machine_options(MachineClass *m)
{ {
pc_i440fx_machine_options(m); pc_i440fx_machine_options(m);
m->alias = "pc"; m->alias = "pc";
m->is_default = 1; m->is_default = 1;
} }
DEFINE_I440FX_MACHINE(v2_13, "pc-i440fx-2.13", NULL, DEFINE_I440FX_MACHINE(v3_0, "pc-i440fx-3.0", NULL,
pc_i440fx_2_13_machine_options); pc_i440fx_3_0_machine_options);
static void pc_i440fx_2_12_machine_options(MachineClass *m) static void pc_i440fx_2_12_machine_options(MachineClass *m)
{ {
pc_i440fx_2_13_machine_options(m); pc_i440fx_3_0_machine_options(m);
m->is_default = 0; m->is_default = 0;
m->alias = NULL; m->alias = NULL;
SET_MACHINE_COMPAT(m, PC_COMPAT_2_12); SET_MACHINE_COMPAT(m, PC_COMPAT_2_12);
......
...@@ -308,18 +308,18 @@ static void pc_q35_machine_options(MachineClass *m) ...@@ -308,18 +308,18 @@ static void pc_q35_machine_options(MachineClass *m)
m->max_cpus = 288; m->max_cpus = 288;
} }
static void pc_q35_2_13_machine_options(MachineClass *m) static void pc_q35_3_0_machine_options(MachineClass *m)
{ {
pc_q35_machine_options(m); pc_q35_machine_options(m);
m->alias = "q35"; m->alias = "q35";
} }
DEFINE_Q35_MACHINE(v2_13, "pc-q35-2.13", NULL, DEFINE_Q35_MACHINE(v3_0, "pc-q35-3.0", NULL,
pc_q35_2_13_machine_options); pc_q35_3_0_machine_options);
static void pc_q35_2_12_machine_options(MachineClass *m) static void pc_q35_2_12_machine_options(MachineClass *m)
{ {
pc_q35_2_13_machine_options(m); pc_q35_3_0_machine_options(m);
m->alias = NULL; m->alias = NULL;
SET_MACHINE_COMPAT(m, PC_COMPAT_2_12); SET_MACHINE_COMPAT(m, PC_COMPAT_2_12);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册