]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio-user/pci.c: use QOM casts where appropriate
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Tue, 15 Jul 2025 09:26:00 +0000 (10:26 +0100)
committerCédric Le Goater <clg@redhat.com>
Mon, 8 Sep 2025 14:46:31 +0000 (16:46 +0200)
commita49ef7a467c3ced0be048b02189092031e325d01
tree9b59770f940f44a4999e3f2c4595aa22288cd858
parent8d3776dd6d8740fb7c91c7c1c25b60fc7edfd19c
vfio-user/pci.c: use QOM casts where appropriate

Use QOM casts to convert between VFIOPCIDevice and PCIDevice instead of
accessing pdev directly.

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250715093110.107317-21-mark.caveayland@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/pci.c