Re: [RFC PATCH 07/19] hw/scsi: Set QDev properties using QDev API

2023-03-01 Thread Igor Mammedov
On Fri, 3 Feb 2023 19:09:02 +0100 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. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/scsi/scsi-bus.c | 6 +- > 1 file changed, 1 i

[RFC PATCH 07/19] hw/scsi: 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. Signed-off-by: Philippe Mathieu-Daudé --- hw/scsi/scsi-bus.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c i