]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/cpr-iommufd.c: use QOM casts where appropriate
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Thu, 25 Sep 2025 11:31:16 +0000 (12:31 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 25 Sep 2025 15:55:19 +0000 (17:55 +0200)
commit91bdb2f32902c83490cbafe524c82005a64e1f68
tree0e8c9000a39be572fe20ee0ce4c14dd372560299
parentcc5b394291f428a04ff7a622573c02560b183797
vfio/cpr-iommufd.c: use QOM casts where appropriate

Use QOM casts to convert between VFIOIOMMUFDContainer and VFIOContainer instead
of accessing bcontainer directly.

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250925113159.1760317-9-mark.caveayland@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/cpr-iommufd.c