OSDN Git Service

hw/vfio/ccw: Use intermediate S390CCWDevice variable
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Feb 2023 17:01:42 +0000 (18:01 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:38 +0000 (09:15 +0100)
commit011da22c5c53910239e7c13394bdeca90c729b09
treec850e88c949c045f179550a7942a0074e0b76a0c
parent4c8a2054e78780622f5d005a52e0bc000f87eb93
hw/vfio/ccw: Use intermediate S390CCWDevice variable

'cdev' is VFIOCCWDevice's private parent object.
Access it using the S390_CCW_DEVICE() QOM macro.

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