xemu/hw/ide
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
..
ahci_internal.h ide: Include hw/ide/internal a bit less outside hw/ide/ 2019-08-16 13:31:52 +02:00
ahci-allwinner.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ahci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
atapi.c hw/ide/atapi: Use the ldst API 2019-08-16 19:14:04 -04:00
cmd646.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
core.c ide: account UNMAP (TRIM) operations 2019-10-10 10:56:18 +02:00
ich.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ioport.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
isa.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Kconfig hw/ide/ahci: Add a Kconfig switch for the AHCI-ICH9 device 2019-05-13 09:36:31 +02:00
macio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Makefile.objs hw/ide/ahci: Add a Kconfig switch for the AHCI-ICH9 device 2019-05-13 09:36:31 +02:00
microdrive.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
mmio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
piix.c vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00
qdev.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sii3112.c hw/ide/sii3112: Convert reset handler to DeviceReset 2019-10-15 18:18:08 -03:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
via.c vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00