diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-13 18:01:41 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-02-27 09:15:38 +0100 |
commit | 4c8a2054e78780622f5d005a52e0bc000f87eb93 (patch) | |
tree | bb4f6812356ca9ccde60f865485fde62e1f44f21 /qemu-bridge-helper.c | |
parent | f0830823d017af1a4e7dad228e5870cad7eb764b (diff) | |
download | qemu-4c8a2054e78780622f5d005a52e0bc000f87eb93.zip qemu-4c8a2054e78780622f5d005a52e0bc000f87eb93.tar.gz qemu-4c8a2054e78780622f5d005a52e0bc000f87eb93.tar.bz2 |
hw/vfio/ccw: Simplify using DEVICE() macro
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é <philmd@linaro.org>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20230213170145.45666-3-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions