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 kvm: introduce kvm_kernel_irqchip_* functions 2019-12-17 19:32:45 +01:00
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 core: replace getpagesize() with qemu_real_host_page_size 2019-10-26 15:38:06 +02:00
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 ppc/pnv: Introduce PnvChipClass::xscom_pcba() method 2019-12-17 10:59:11 +11:00
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 hw: Move M48T59 device from hw/timer/ to hw/rtc/ subdirectory 2019-10-24 20:20:45 +02:00
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 target/ppc: Add SPR TBU40 2019-12-17 10:39:48 +11:00
ppce500_spin.c
prep_systemio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
prep.c hw: Move M48T59 device from hw/timer/ to hw/rtc/ subdirectory 2019-10-24 20:20:45 +02:00
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 vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00
spapr_events.c ppc/spapr_events: fix potential NULL pointer dereference in rtas_event_log_dequeue 2019-11-26 10:12:58 +11:00
spapr_hcall.c spapr: Simplify ovec diff 2019-12-17 10:39:48 +11:00
spapr_iommu.c vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00
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: Simplify ovec diff 2019-12-17 10:39:48 +11:00
spapr_pci_nvlink2.c error: Clean up unusual names of Error * variables 2019-12-18 08:36:15 +01:00
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: Replace spapr_vio_qirq() helper with spapr_vio_irq_pulse() helper 2019-10-04 19:08:22 +10:00
spapr.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
trace-events spapr: Remove unhelpful tracepoints from spapr_irq_free_xics() 2019-10-04 19:08:22 +10:00
virtex_ml507.c