]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/vfio/cpr-legacy.c: use QOM casts where appropriate
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Tue, 15 Jul 2025 09:25:43 +0000 (10:25 +0100)
committerCédric Le Goater <clg@redhat.com>
Mon, 8 Sep 2025 14:46:31 +0000 (16:46 +0200)
commit5255ba39b16539bd4b28a961d196812af1684c02
treefec01a79bf107173bb3621bda9ddcdc5923fe546
parent98c12de5aeb1cb464a9cde13cd7a53dd6520d3aa
hw/vfio/cpr-legacy.c: use QOM casts where appropriate

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

Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/qemu-devel/20250715093110.107317-4-mark.caveayland@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/cpr-legacy.c