Re: [PATCH 2/5] hw/pci-host/raven: Set QDev properties using QDev API

2023-02-05 Thread Daniel Henrique Barboza
On 2/3/23 18:16, Philippe Mathieu-Daudé wrote: No need to use the low-level QOM API when an object inherits from QDev. Directly use the QDev API to set its properties. All calls use either errp=&error_fatal or NULL, so converting to the QDev API is almost a no-op (QDev API always uses &error_

[PATCH 2/5] hw/pci-host/raven: Set QDev properties using QDev API

2023-02-03 Thread Philippe Mathieu-Daudé
No need to use the low-level QOM API when an object inherits from QDev. Directly use the QDev API to set its properties. All calls use either errp=&error_fatal or NULL, so converting to the QDev API is almost a no-op (QDev API always uses &error_abort). Signed-off-by: Philippe Mathieu-Daudé ---