mirror of https://gitee.com/openkylin/qemu.git
pc: Don't set hw_version on pc-*-2.5
Now that qemu_hw_version() returns a fixed "2.5+" string instead of QEMU_VERSION, we don't need to set hw_version on pc-*-2.5 explicitly. Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
fac862ffa6
commit
463b52f285
|
@ -472,7 +472,6 @@ static void pc_i440fx_machine_options(MachineClass *m)
|
|||
static void pc_i440fx_2_5_machine_options(MachineClass *m)
|
||||
{
|
||||
pc_i440fx_machine_options(m);
|
||||
m->hw_version = QEMU_VERSION;
|
||||
m->alias = "pc";
|
||||
m->is_default = 1;
|
||||
}
|
||||
|
|
|
@ -373,7 +373,6 @@ static void pc_q35_machine_options(MachineClass *m)
|
|||
static void pc_q35_2_5_machine_options(MachineClass *m)
|
||||
{
|
||||
pc_q35_machine_options(m);
|
||||
m->hw_version = QEMU_VERSION;
|
||||
m->alias = "q35";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue