From: Paolo Bonzini <pbonzini@redhat.com>
To: Cornelia Huck <cornelia.huck@de.ibm.com>,
Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Cc: Jason Wang <jasowang@redhat.com>,
idan.brown@ravellosystems.com, qemu-devel@nongnu.org,
Dmitry Fleytman <dmitry@daynix.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 1/2] compat: Introduce HW_COMPAT_2_5
Date: Fri, 18 Dec 2015 14:00:23 +0100 [thread overview]
Message-ID: <56740367.6000104@redhat.com> (raw)
In-Reply-To: <20151218103723.13ee3db2.cornelia.huck@de.ibm.com>
On 18/12/2015 10:37, Cornelia Huck wrote:
> On Fri, 18 Dec 2015 09:30:02 +0200
> Shmulik Ladkani <shmulik.ladkani@ravellosystems.com> wrote:
>
>> Introduce the place-holder for 2.5 back-compat properties, and the
>> accompanying PC_COMPAT_2_5, CCW_COMPAT_2_5, SPAPR_COMPAT_2_5.
>>
>> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
>> ---
>> hw/i386/pc_piix.c | 1 +
>> hw/i386/pc_q35.c | 1 +
>> hw/ppc/spapr.c | 9 +++++++++
>> hw/s390x/s390-virtio-ccw.c | 9 +++++++++
>> include/hw/compat.h | 3 +++
>> include/hw/i386/pc.h | 4 ++++
>> 6 files changed, 27 insertions(+)
>>
>
>> diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
>> index 5a52ff2..3d79654 100644
>> --- a/hw/s390x/s390-virtio-ccw.c
>> +++ b/hw/s390x/s390-virtio-ccw.c
>> @@ -235,7 +235,11 @@ static const TypeInfo ccw_machine_info = {
>> },
>> };
>>
>> +#define CCW_COMPAT_2_5 \
>> + HW_COMPAT_2_5
>> +
>> #define CCW_COMPAT_2_4 \
>> + CCW_COMPAT_2_5 \
>> HW_COMPAT_2_4 \
>> {\
>> .driver = TYPE_S390_SKEYS,\
>> @@ -296,10 +300,15 @@ static const TypeInfo ccw_machine_2_4_info = {
>> static void ccw_machine_2_5_class_init(ObjectClass *oc, void *data)
>> {
>> MachineClass *mc = MACHINE_CLASS(oc);
>> + static GlobalProperty compat_props[] = {
>> + CCW_COMPAT_2_5
>> + { /* end of list */ }
>> + };
>>
>> mc->alias = "s390-ccw-virtio";
>> mc->desc = "VirtIO-ccw based S390 machine v2.5";
>> mc->is_default = 1;
>> + mc->compat_props = compat_props;
>> }
>>
>> static const TypeInfo ccw_machine_2_5_info = {
>
> s390x part:
>
> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
>
> <There will be interaction with my patch introducing the ccw 2.6
> machine, but nothing that isn't sorted out easily>
>
Feel free to include these in your pull request if it's coming before
say January 6th.
Paolo
next prev parent reply other threads:[~2015-12-18 13:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-18 7:30 [Qemu-devel] [PATCH 0/2] compat: recent vmw_pvscsi back-compat props are 2.5 specific Shmulik Ladkani
2015-12-18 7:30 ` [Qemu-devel] [PATCH 1/2] compat: Introduce HW_COMPAT_2_5 Shmulik Ladkani
2015-12-18 9:37 ` Cornelia Huck
2015-12-18 13:00 ` Paolo Bonzini [this message]
2015-12-21 0:21 ` David Gibson
2015-12-23 19:21 ` Shmulik Ladkani
2016-01-07 16:30 ` Paolo Bonzini
2016-01-07 16:33 ` Cornelia Huck
2016-01-07 16:46 ` Paolo Bonzini
2016-01-07 19:10 ` Shmulik Ladkani
2015-12-18 7:30 ` [Qemu-devel] [PATCH 2/2] vmw_pvscsi: x-disable-pcie, x-old-pci-configuration back-compat props are 2.5 specific Shmulik Ladkani
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=56740367.6000104@redhat.com \
--to=pbonzini@redhat.com \
--cc=cornelia.huck@de.ibm.com \
--cc=david@gibson.dropbear.id.au \
--cc=dmitry@daynix.com \
--cc=idan.brown@ravellosystems.com \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=shmulik.ladkani@ravellosystems.com \
/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).