Re: [PATCH v3 2/6] hw/vfio/ccw: Simplify using DEVICE() macro

2023-02-13 Thread Eric Farman
On Mon, 2023-02-13 at 18:01 +0100, Philippe Mathieu-Daudé wrote: > QOM parenthood relationship is: > >   VFIOCCWDevice -> S390CCWDevice -> CcwDevice -> DeviceState > > We can directly use the QOM DEVICE() macro to get the parent object. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Er

[PATCH v3 2/6] hw/vfio/ccw: Simplify using DEVICE() macro

2023-02-13 Thread Philippe Mathieu-Daudé
QOM parenthood relationship is: VFIOCCWDevice -> S390CCWDevice -> CcwDevice -> DeviceState We can directly use the QOM DEVICE() macro to get the parent object. Signed-off-by: Philippe Mathieu-Daudé --- hw/vfio/ccw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/vfio/