From: Greg Kurz <groug@kaod.org>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: David Gibson <david@gibson.dropbear.id.au>,
qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 05/10] xics: Drop the KVM ICP class
Date: Fri, 15 Feb 2019 14:18:24 +0100 [thread overview]
Message-ID: <20190215141824.3549d285@bahia.lan> (raw)
In-Reply-To: <4690ad87-f634-4f3b-a39c-ee61bfc64e75@kaod.org>
On Fri, 15 Feb 2019 13:55:53 +0100
Cédric Le Goater <clg@kaod.org> wrote:
> On 2/15/19 12:40 PM, Greg Kurz wrote:
> > The KVM ICP class isn't used anymore. Drop it.
>
> Isn't migration complaining ? If not,
>
Hm.. no, but why would migration complain ?
> Reviewed-by: Cédric Le Goater <clg@kaod.org>
>
> Thanks,
>
> C.
>
>
>
> > Signed-off-by: Greg Kurz <groug@kaod.org>
> > ---
> > hw/intc/xics_kvm.c | 18 ------------------
> > include/hw/ppc/xics.h | 3 ---
> > 2 files changed, 21 deletions(-)
> >
> > diff --git a/hw/intc/xics_kvm.c b/hw/intc/xics_kvm.c
> > index 4eebced516b6..fae4ac431f2f 100644
> > --- a/hw/intc/xics_kvm.c
> > +++ b/hw/intc/xics_kvm.c
> > @@ -152,23 +152,6 @@ void icp_kvm_realize(DeviceState *dev, Error **errp)
> > QLIST_INSERT_HEAD(&kvm_enabled_icps, enabled_icp, node);
> > }
> >
> > -static void icp_kvm_class_init(ObjectClass *klass, void *data)
> > -{
> > - DeviceClass *dc = DEVICE_CLASS(klass);
> > - ICPStateClass *icpc = ICP_CLASS(klass);
> > -
> > - device_class_set_parent_realize(dc, icp_kvm_realize,
> > - &icpc->parent_realize);
> > -}
> > -
> > -static const TypeInfo icp_kvm_info = {
> > - .name = TYPE_KVM_ICP,
> > - .parent = TYPE_ICP,
> > - .instance_size = sizeof(ICPState),
> > - .class_init = icp_kvm_class_init,
> > - .class_size = sizeof(ICPStateClass),
> > -};
> > -
> > /*
> > * ICS-KVM
> > */
> > @@ -425,7 +408,6 @@ fail:
> > static void xics_kvm_register_types(void)
> > {
> > type_register_static(&ics_kvm_info);
> > - type_register_static(&icp_kvm_info);
> > }
> >
> > type_init(xics_kvm_register_types)
> > diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
> > index ab61dc24010a..fae54e6f28ae 100644
> > --- a/include/hw/ppc/xics.h
> > +++ b/include/hw/ppc/xics.h
> > @@ -50,9 +50,6 @@ typedef struct XICSFabric XICSFabric;
> > #define TYPE_ICP "icp"
> > #define ICP(obj) OBJECT_CHECK(ICPState, (obj), TYPE_ICP)
> >
> > -#define TYPE_KVM_ICP "icp-kvm"
> > -#define KVM_ICP(obj) OBJECT_CHECK(ICPState, (obj), TYPE_KVM_ICP)
> > -
> > #define TYPE_PNV_ICP "pnv-icp"
> > #define PNV_ICP(obj) OBJECT_CHECK(PnvICPState, (obj), TYPE_PNV_ICP)
> >
> >
>
next prev parent reply other threads:[~2019-02-15 13:18 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-15 11:39 [Qemu-devel] [PATCH 00/10] xics: Get rid of KVM specific classes Greg Kurz
2019-02-15 11:39 ` [Qemu-devel] [PATCH 01/10] xics: Explicitely call KVM ICP methods from the common code Greg Kurz
2019-02-15 12:49 ` Cédric Le Goater
2019-02-17 23:14 ` David Gibson
2019-02-18 20:10 ` Eric Blake
2019-02-19 5:36 ` David Gibson
2019-02-15 11:39 ` [Qemu-devel] [PATCH 02/10] xics: Handle KVM ICP reset " Greg Kurz
2019-02-15 12:50 ` Cédric Le Goater
2019-02-17 23:32 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 03/10] xics: Handle KVM ICP realize " Greg Kurz
2019-02-15 12:54 ` Cédric Le Goater
2019-02-15 13:03 ` Greg Kurz
2019-02-15 13:09 ` Cédric Le Goater
2019-02-15 13:27 ` Greg Kurz
2019-02-15 13:35 ` Cédric Le Goater
2019-02-17 23:33 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 04/10] spapr/irq: Use the base ICP class for KVM Greg Kurz
2019-02-15 12:54 ` Cédric Le Goater
2019-02-17 23:35 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 05/10] xics: Drop the KVM ICP class Greg Kurz
2019-02-15 12:55 ` Cédric Le Goater
2019-02-15 13:18 ` Greg Kurz [this message]
2019-02-15 13:35 ` Cédric Le Goater
2019-02-15 13:35 ` Greg Kurz
2019-02-17 23:37 ` David Gibson
2019-02-18 7:08 ` Cédric Le Goater
2019-02-15 11:40 ` [Qemu-devel] [PATCH 06/10] xics: Explicitely call KVM ICS methods from the common code Greg Kurz
2019-02-15 12:56 ` Cédric Le Goater
2019-02-17 23:39 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 07/10] xics: Handle KVM ICS reset from the "simple" ICS code Greg Kurz
2019-02-15 12:57 ` Cédric Le Goater
2019-02-17 23:41 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 08/10] xics: Handle KVM interrupt presentation from " Greg Kurz
2019-02-15 12:59 ` Cédric Le Goater
2019-02-15 13:25 ` Greg Kurz
2019-02-17 23:43 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 09/10] spapr/irq: Use the "simple" ICS class for KVM Greg Kurz
2019-02-15 13:02 ` Cédric Le Goater
2019-02-15 13:32 ` Greg Kurz
2019-02-15 13:37 ` Cédric Le Goater
2019-02-17 23:49 ` David Gibson
2019-02-17 23:51 ` David Gibson
2019-02-15 11:40 ` [Qemu-devel] [PATCH 10/10] xics: Drop the KVM ICS class Greg Kurz
2019-02-15 13:02 ` Cédric Le Goater
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=20190215141824.3549d285@bahia.lan \
--to=groug@kaod.org \
--cc=clg@kaod.org \
--cc=david@gibson.dropbear.id.au \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).