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:
Eduardo Habkost 2015-11-12 15:29:55 -02:00 committed by Michael S. Tsirkin
parent fac862ffa6
commit 463b52f285
2 changed files with 0 additions and 2 deletions

View File

@ -472,7 +472,6 @@ static void pc_i440fx_machine_options(MachineClass *m)
static void pc_i440fx_2_5_machine_options(MachineClass *m) static void pc_i440fx_2_5_machine_options(MachineClass *m)
{ {
pc_i440fx_machine_options(m); pc_i440fx_machine_options(m);
m->hw_version = QEMU_VERSION;
m->alias = "pc"; m->alias = "pc";
m->is_default = 1; m->is_default = 1;
} }

View File

@ -373,7 +373,6 @@ static void pc_q35_machine_options(MachineClass *m)
static void pc_q35_2_5_machine_options(MachineClass *m) static void pc_q35_2_5_machine_options(MachineClass *m)
{ {
pc_q35_machine_options(m); pc_q35_machine_options(m);
m->hw_version = QEMU_VERSION;
m->alias = "q35"; m->alias = "q35";
} }