qemu/hw/dma
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
..
bcm2835_dma.c hw/arm/bcm2835_peripherals: Name various address spaces 2019-10-15 18:09:05 +01:00
etraxfs_dma.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
i8257.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
i82374.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Kconfig hw/core: Add a config switch for the "register" device 2019-08-20 09:11:05 +02:00
Makefile.objs hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines 2019-08-19 21:28:25 +02:00
omap_dma.c hw/dma/omap_dma: Move switch 'fall through' comment to correct place 2019-08-21 10:55:23 +02:00
pl080.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pl330.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
puv3_dma.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pxa2xx_dma.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
rc4030.c mips: jazz: Renovate coding style 2019-12-16 13:04:46 +01:00
soc_dma.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
sparc32_dma.c lance: replace PROP_PTR with PROP_LINK 2020-01-07 17:24:29 +04:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
xilinx_axidma.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xlnx_dpdma.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
xlnx-zdma.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xlnx-zynq-devcfg.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00