qom: DECLARE_INTERFACE_CHECKER macro
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v22 patches 2 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
* Rebased on top of
Subject: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHECK & friends
Date: Fri, 6 Aug 2021 17:11:15 -0400
Message-Id: <[email protected]>
https://lore.kernel.org/qemu-devel/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qom: DECLARE_INTERFACE_CHECKER macroinclude/ | +14 | 0 replies | |
| 2/2 | Use DECLARE_INTERFACE_CHECKER macroinclude/ include/ include/ +18 more | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH for-6.2 v3 0/2] qom: DECLARE_INTERFACE_CHECKER macro
This is an alternative to the series:
Subject: [PATCH 0/3] qom: Replace INTERFACE_CHECK with OBJECT_CHECK
https://lore.kernel.org/qemu-devel/[email protected]/
Instead of removing INTERFACE_CHECK completely, keep it but use a DECLARE_INTERFACE_CHECKER macro to define the type checking functions for interface types.
Maybe one day INTERFACE_CHECK/DECLARE_INTERFACE_CHECKER will be completely replaced with OBJECT_CHECK/DECLARE_INSTANCE_CHECKER, but by now it might be useful to keep the distinction between regular objects and interface types. See discussion at
https://lore.kernel.org/qemu-devel/[email protected]
Based-on: <[email protected]>
Changes v2 -> v3:
* Rebased on top of
Subject: [PATCH for-6.2 00/12] qom: Get rid of all manual usage of OBJECT_CHECK & friends
Date: Fri, 6 Aug 2021 17:11:15 -0400
Message-Id: <[email protected]>
https://lore.kernel.org/qemu-devel/[email protected]
Changes v1 -> v2:
* Move declaration after typedefs, so the code actually compiles
Links to previous versions:
v1: https://lore.kernel.org/qemu-devel/[email protected]
v2: https://lore.kernel.org/qemu-devel/[email protected]
Eduardo Habkost (2):
qom: DECLARE_INTERFACE_CHECKER macro
[autoamted] Use DECLARE_INTERFACE_CHECKER macro
include/hw/acpi/acpi_dev_interface.h | 5 ++--- include/hw/arm/linux-boot-if.h | 4 ++-- include/hw/fw-path-provider.h | 4 ++-- include/hw/hotplug.h | 4 ++-- include/hw/intc/intc.h | 5 ++--- include/hw/ipmi/ipmi.h | 4 ++-- include/hw/isa/isa.h | 4 ++-- include/hw/mem/memory-device.h | 4 ++-- include/hw/nmi.h | 4 ++-- include/hw/ppc/pnv_xscom.h | 4 ++-- include/hw/ppc/spapr_irq.h | 4 ++-- include/hw/ppc/xics.h | 4 ++-- include/hw/ppc/xive.h | 12 ++++++------ include/hw/rdma/rdma.h | 5 ++--- include/hw/rtc/m48t59.h | 4 ++-- include/hw/stream.h | 4 ++-- include/hw/vmstate-if.h | 4 ++-- include/qom/object.h | 14 ++++++++++++++ include/qom/object_interfaces.h | 5 ++--- include/sysemu/tpm.h | 4 ++-- target/arm/idau.h | 4 ++-- tests/unit/check-qom-interface.c | 4 ++-- 22 files changed, 60 insertions(+), 50 deletions(-)
Signature · 1 line
2.31.1