On 5/29/20 3:44 PM, Markus Armbruster wrote:
> For readability, and consistency with qbus_realize().
>
> Coccinelle script:
>
> @ depends on !(file in "hw/core/qdev.c")@
> typedef DeviceState;
> DeviceState *dev;
> symbol false, error_abort;
> @@
> -object_property_set
For readability, and consistency with qbus_realize().
Coccinelle script:
@ depends on !(file in "hw/core/qdev.c")@
typedef DeviceState;
DeviceState *dev;
symbol false, error_abort;
@@
-object_property_set_bool(OBJECT(dev), false, "realized", &error_abort);
+qde