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
..
2019-08-16 13:31:53 +02:00
2020-01-24 20:59:15 +01:00
2019-12-17 19:33:49 +01:00
2020-01-24 20:59:15 +01:00
2019-10-15 18:09:02 +01:00
2019-08-21 13:24:01 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-17 14:27:16 +00:00
2019-06-17 15:13:19 +01:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:37:36 +02:00
2019-06-17 15:13:19 +01:00
2019-06-12 13:18:33 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-10-15 18:09:05 +01:00
2020-01-07 17:24:29 +04:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2018-09-25 15:13:24 +01:00
2017-02-28 17:10:00 +00:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2019-12-17 19:33:49 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2016-10-04 10:00:25 +02:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2020-01-07 12:08:39 +01:00
2019-08-16 13:31:52 +02:00
2019-08-19 21:28:25 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-03-12 14:33:04 +11:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-12-18 08:36:15 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-01-08 11:01:59 +11:00
2020-01-24 20:59:15 +01:00
2019-10-04 19:08:22 +10:00
2015-09-24 01:29:36 +01:00
2019-12-17 10:39:48 +11:00
2019-08-16 13:31:53 +02:00
2019-12-17 10:39:48 +11:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00