[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 01/12] s390x: remove double compat statement
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PULL v2 01/12] s390x: remove double compat statement |
Date: |
Fri, 20 Jan 2017 10:15:42 +0100 |
From: Christian Borntraeger <address@hidden>
We chain our compat handler via the CCW_COMPAT macros and via the
class_init function. (e.g. ccw_machine_2_7_class_options calls
ccw_machine_2_8_class_options). As all class_init functions in that
chain call SET_MACHINE_COMPAT for their compat settings, and
SET_MACHINE_COMPAT will append there is no need to do that again.
Signed-off-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
hw/s390x/s390-virtio-ccw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index e340eab36b..dbf4f01165 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -339,7 +339,6 @@ static const TypeInfo ccw_machine_info = {
HW_COMPAT_2_7
#define CCW_COMPAT_2_6 \
- CCW_COMPAT_2_7 \
HW_COMPAT_2_6 \
{\
.driver = TYPE_S390_IPL,\
@@ -352,7 +351,6 @@ static const TypeInfo ccw_machine_info = {
},
#define CCW_COMPAT_2_5 \
- CCW_COMPAT_2_6 \
HW_COMPAT_2_5
#define CCW_COMPAT_2_4 \
--
2.11.0
- [Qemu-devel] [PULL v2 00/12] s390x update, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 02/12] s390x: add compat machine for 2.9, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 01/12] s390x: remove double compat statement,
Cornelia Huck <=
- [Qemu-devel] [PULL v2 05/12] s390x/pci: dynamically allocate iommu, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 03/12] s390x/kvm: use kvm_gsi_routing_enabled in flic, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 07/12] s390x/pci: optimize calling s390_get_phb(), Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 06/12] s390x/pci: change the device array to a list, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 04/12] s390x/pci: make S390PCIIOMMU inherit Object, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 08/12] s390x/pci: PCI multibus bridge handling, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 09/12] s390x/pci: use hashtable to look up zpci via fh, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 10/12] s390x/pci: handle PCIBridge bus number, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 11/12] s390x/pci: merge msix init functions, Cornelia Huck, 2017/01/20
- [Qemu-devel] [PULL v2 12/12] virtio-ccw: fix ring sizing, Cornelia Huck, 2017/01/20