qemu/hw/mips
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
..
addr.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
boston.c * Compat machines fix (Denis) 2020-01-10 17:16:49 +00:00
cps.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
gt64xxx_pci.c hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
Kconfig hw/isa: Introduce a CONFIG_ISA_SUPERIO switch for isa-superio.c 2019-10-04 18:49:16 +02:00
Makefile.objs hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards 2019-02-05 16:50:19 +01:00
mips_fulong2e.c hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
mips_int.c mips: fix memory leaks in board initialization 2019-10-04 18:49:17 +02:00
mips_jazz.c dp8393x: replace PROP_PTR with PROP_LINK 2020-01-07 17:24:29 +04:00
mips_malta.c * Compat machines fix (Denis) 2020-01-10 17:16:49 +00:00
mips_mipssim.c mips: use sysbus_mmio_get_region() instead of internal fields 2020-01-07 17:24:29 +04:00
mips_r4k.c hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
trace-events hw/mips/gt64xxx: Remove dynamic field width from trace events 2019-11-19 14:46:01 +01:00