[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/9] pc: Don't set hw_version on pc-*-2.5
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 2/9] pc: Don't set hw_version on pc-*-2.5 |
Date: |
Thu, 26 Nov 2015 18:44:07 +0200 |
From: Eduardo Habkost <address@hidden>
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 <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
hw/i386/pc_piix.c | 1 -
hw/i386/pc_q35.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 07d0baa..2e41efe 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -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;
}
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 0fdae09..133bc68 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -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";
}
--
MST
- [Qemu-devel] [PULL 0/9] vhost, pc: fixes for 2.5, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 1/9] osdep: Change default value of qemu_hw_version() to "2.5+", Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 2/9] pc: Don't set hw_version on pc-*-2.5,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 3/9] vhost-user: set link down when the char device is closed, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 4/9] vhost-user: clarify start and enable, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 5/9] tests/vhost-user-bridge: propose GUEST_ANNOUNCE feature, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 6/9] tests/vhost-user-bridge: read command line arguments, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 7/9] Revert "vhost: send SET_VRING_ENABLE at start/stop", Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 9/9] vhost-user-test: fix migration overlap test, Michael S. Tsirkin, 2015/11/26
- [Qemu-devel] [PULL 8/9] Fix memory leak on error, Michael S. Tsirkin, 2015/11/26
- Re: [Qemu-devel] [PULL 0/9] vhost, pc: fixes for 2.5, Peter Maydell, 2015/11/26