[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHE
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHECK & friends |
Date: |
Mon, 9 Aug 2021 14:00:18 -0400 |
On Sat, Aug 07, 2021 at 10:15:52AM +0200, Philippe Mathieu-Daudé wrote:
> On 8/6/21 11:11 PM, Eduardo Habkost wrote:
> > This series gets rid of all manual usage of OBJECT_CHECK,
> > OBJECT_CLASS_CHECK, and OBJECT_GET_CLASS.
> >
> > All type check macros defined manually are replaced with
> > DEFINE_*CHECKER* or OBJECT_DECLARE* macros.
> >
> > All manual usage of OBJECT_CHECK/OBJECT_CLASS_CHECK/OBJECT_GET_CLASS
> > is manually replaced with the corresponding type-specific wrappers.
>
> Is INTERFACE_CHECK already converted / in good shape?
Not yet. I need to refresh my memory by looking at mailing list
archives, but I have a work in progress branch that I haven't
touched in a while (except for rebasing it) at:
https://gitlab.com/ehabkost/qemu/-/commits/work/qom-declare-interface-type/
Basically it introduces a DECLARE_INTERFACE_CHECKER macro instead
of reusing OBJECT_CHECK/DECLARE_INSTANCE_CHECKER.
--
Eduardo
- Re: [PATCH for-6.2 09/12] npcm7xx_otp: Use DECLARE_CLASS_CHECKERS, (continued)
- [PATCH for-6.2 10/12] [automated] Use DECLARE_OBJ_CHECKERS when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 07/12] [automated] Use DECLARE_*CHECKER* macros when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 11/12] [automated] Use OBJECT_DECLARE_TYPE when possible, Eduardo Habkost, 2021/08/06
- [PATCH for-6.2 12/12] [automated] Use OBJECT_DECLARE_SIMPLE_TYPE when possible, Eduardo Habkost, 2021/08/06
- Re: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHECK & friends, Philippe Mathieu-Daudé, 2021/08/07
- Re: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHECK & friends,
Eduardo Habkost <=