From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: qemu-devel@nongnu.org
Cc: borntraeger@de.ibm.com, agraf@suse.de, jfrei@linux.vnet.ibm.com,
Cornelia Huck <cornelia.huck@de.ibm.com>
Subject: [Qemu-devel] [PATCH 01/11] s390x: remove double compat statement
Date: Wed, 11 Jan 2017 10:37:32 +0100 [thread overview]
Message-ID: <20170111093742.21946-2-cornelia.huck@de.ibm.com> (raw)
In-Reply-To: <20170111093742.21946-1-cornelia.huck@de.ibm.com>
From: Christian Borntraeger <borntraeger@de.ibm.com>
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 <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
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
next prev parent reply other threads:[~2017-01-11 9:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 9:37 [Qemu-devel] [PATCH 00/11] s390x patches for 2.9 Cornelia Huck
2017-01-11 9:37 ` Cornelia Huck [this message]
2017-01-11 9:37 ` [Qemu-devel] [PATCH 02/11] s390x: add compat machine " Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 03/11] s390x/kvm: use kvm_gsi_routing_enabled in flic Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 04/11] s390x/pci: make S390PCIIOMMU inherit Object Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 05/11] s390x/pci: dynamically allocate iommu Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 06/11] s390x/pci: change the device array to a list Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 07/11] s390x/pci: optimize calling s390_get_phb() Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 08/11] s390x/pci: PCI multibus bridge handling Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 09/11] s390x/pci: use hashtable to look up zpci via fh Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 10/11] s390x/pci: handle PCIBridge bus number Cornelia Huck
2017-01-11 9:37 ` [Qemu-devel] [PATCH 11/11] s390x/pci: merge msix init functions Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170111093742.21946-2-cornelia.huck@de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=jfrei@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).