OSDN Git Service

hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Feb 2023 17:01:45 +0000 (18:01 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:38 +0000 (09:15 +0100)
commitecba64689596614112b662d0579d097fa5cfd5d5
tree2a7155e47e843a2b9dddf52559835c78dbbe9c99
parent4b447883ede2d75960f2c02856e68710d6155268
hw/vfio/ccw: Replace DO_UPCAST(VFIOCCWDevice) by VFIO_CCW()

Use the VFIO_CCW() QOM type-checking macro to avoid DO_UPCAST().

Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213170145.45666-7-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/vfio/ccw.c