]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/block/vhost-user-blk: Use DEVICE() / VIRTIO_DEVICE() macros
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 16 Oct 2023 15:00:13 +0000 (17:00 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 21:13:28 +0000 (23:13 +0200)
commit11591b586620ae62155d6bc36650283e7c05efa9
treef6e23aff5e83ee8d65ddf19159fa4a7a0414d713
parent5960f254dbb46f0c7a9f5f44bf4d27c19c34cb97
hw/block/vhost-user-blk: Use DEVICE() / VIRTIO_DEVICE() macros

Access QOM parent with the proper QOM [VIRTIO_]DEVICE() macros.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20231017140150.44995-3-philmd@linaro.org>
hw/block/vhost-user-blk.c