qemu-patch-raspberry4/hw/pci-host
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
..
bonito.c hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
designware.c hw/pci-host/designware: Remove unuseful FALLTHROUGH comment 2020-01-24 20:59:08 +01:00
gpex.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
grackle.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
i440fx.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Kconfig hw/pci-host: Add Kconfig entry to select the IGD Passthrough Host Bridge 2019-12-18 02:34:12 +01:00
Makefile.objs hw/pci-host: Add Kconfig entry to select the IGD Passthrough Host Bridge 2019-12-18 02:34:12 +01:00
pam.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ppce500.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
prep.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
q35.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sabre.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
uninorth.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
versatile.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xen_igd_pt.c hw/pci-host/i440fx: Extract the IGD passthrough host bridge device 2019-12-18 02:34:12 +01:00
xilinx-pcie.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00