Re: [PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-13 Thread Philippe Mathieu-Daudé
On 13/2/23 17:24, Eric Farman wrote: On Mon, 2023-02-13 at 17:10 +0100, Philippe Mathieu-Daudé wrote: On 13/2/23 16:51, Philippe Mathieu-Daudé wrote: On 13/2/23 16:29, Eric Farman wrote: On Mon, 2023-02-13 at 08:08 +0100, Philippe Mathieu-Daudé wrote: Use the VFIO_CCW() QOM type-checking macr

Re: [PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-13 Thread Eric Farman
On Mon, 2023-02-13 at 17:10 +0100, Philippe Mathieu-Daudé wrote: > On 13/2/23 16:51, Philippe Mathieu-Daudé wrote: > > On 13/2/23 16:29, Eric Farman wrote: > > > On Mon, 2023-02-13 at 08:08 +0100, Philippe Mathieu-Daudé wrote: > > > > Use the VFIO_CCW() QOM type-checking macro to avoid > > > > DO_U

Re: [PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-13 Thread Philippe Mathieu-Daudé
On 13/2/23 16:51, Philippe Mathieu-Daudé wrote: On 13/2/23 16:29, Eric Farman wrote: On Mon, 2023-02-13 at 08:08 +0100, Philippe Mathieu-Daudé wrote: Use the VFIO_CCW() QOM type-checking macro to avoid DO_UPCAST(). Signed-off-by: Philippe Mathieu-Daudé ---   hw/vfio/ccw.c | 35 +++

Re: [PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-13 Thread Philippe Mathieu-Daudé
On 13/2/23 16:29, Eric Farman wrote: On Mon, 2023-02-13 at 08:08 +0100, Philippe Mathieu-Daudé wrote: Use the VFIO_CCW() QOM type-checking macro to avoid DO_UPCAST(). Signed-off-by: Philippe Mathieu-Daudé ---  hw/vfio/ccw.c | 35 ---  1 file changed, 16 inserti

Re: [PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-13 Thread Eric Farman
On Mon, 2023-02-13 at 08:08 +0100, Philippe Mathieu-Daudé wrote: > Use the VFIO_CCW() QOM type-checking macro to avoid DO_UPCAST(). > > Signed-off-by: Philippe Mathieu-Daudé > --- >  hw/vfio/ccw.c | 35 --- >  1 file changed, 16 insertions(+), 19 deletions(-) > > d

[PATCH v2 16/19] hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

2023-02-12 Thread Philippe Mathieu-Daudé
Use the VFIO_CCW() QOM type-checking macro to avoid DO_UPCAST(). Signed-off-by: Philippe Mathieu-Daudé --- hw/vfio/ccw.c | 35 --- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c index 0354737666..a8aa5b48c4 100644 ---