qemu-e2k/hw/ppc
Marc-André Lureau 4f67d30b5e qdev: set properties with device_class_set_props()
The following patch will need to handle properties registration during
class_init time. Let's use a device_class_set_props() setter.

spatch --macro-file scripts/cocci-macro-file.h  --sp-file
./scripts/coccinelle/qdev-set-props.cocci --keep-comments --in-place
--dir .

@@
typedef DeviceClass;
DeviceClass *d;
expression val;
@@
- d->props = val
+ device_class_set_props(d, val)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-20-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:15 +01:00
..
e500-ccsr.h
e500.c
e500.h
e500plat.c
fdt.c
fw_cfg.c
Kconfig hw/nvram/Kconfig: Restrict CHRP NVRAM to machines using OpenBIOS or SLOF 2020-01-07 12:08:39 +01:00
mac_newworld.c
mac_oldworld.c
mac.h
Makefile.objs hw/ppc/Kconfig: Only select FDT helper for machines using it 2020-01-07 12:08:39 +01:00
mpc8544_guts.c
mpc8544ds.c
pnv_bmc.c ppc/pnv: Add a "pnor" const link property to the BMC internal simulator 2020-01-08 11:01:59 +11:00
pnv_core.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_homer.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_lpc.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_occ.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_pnor.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_psi.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pnv_xscom.c
pnv.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
ppc4xx_devs.c
ppc4xx_pci.c
ppc405_boards.c
ppc405_uc.c
ppc405.h
ppc440_bamboo.c ppc440_bamboo.c: remove label from bamboo_load_device_tree() 2020-01-08 11:01:59 +11:00
ppc440_pcix.c
ppc440_uc.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
ppc440.h
ppc_booke.c
ppc.c
ppce500_spin.c
prep_systemio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
prep.c
rs6000_mc.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sam460ex.c
spapr_caps.c
spapr_cpu_core.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
spapr_drc.c
spapr_events.c
spapr_hcall.c
spapr_iommu.c
spapr_irq.c spapr, pnv, xive: Add a "xive-fabric" link to the XIVE router 2020-01-08 11:01:59 +11:00
spapr_ovec.c
spapr_pci_nvlink2.c
spapr_pci_vfio.c
spapr_pci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
spapr_rng.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
spapr_rtas_ddw.c
spapr_rtas.c hw/ppc/spapr_rtas: Remove local variable 2020-01-24 20:59:11 +01:00
spapr_rtc.c
spapr_tpm_proxy.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
spapr_vio.c
spapr.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
trace-events
virtex_ml507.c