aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2024-07-19 18:50:11 +0200
committerCédric Le Goater <clg@redhat.com>2024-07-23 17:14:52 +0200
commit07321a6d087d4ec9866cfb0c8b53692a59758976 (patch)
tree84e4356267085e55d32fbb01c0869428be2fe92f /include
parent3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd (diff)
downloadqemu-07321a6d087d4ec9866cfb0c8b53692a59758976.zip
qemu-07321a6d087d4ec9866cfb0c8b53692a59758976.tar.gz
qemu-07321a6d087d4ec9866cfb0c8b53692a59758976.tar.bz2
hw/vfio/container: Fix SIGSEV on vfio_container_instance_finalize()
In vfio_connect_container's error path, the base container is removed twice form the VFIOAddressSpace QLIST: first on the listener_release_exit label and second, on free_container_exit label, through object_unref(container), which calls vfio_container_instance_finalize(). Let's remove the first instance. Fixes: 938026053f4 ("vfio/container: Switch to QOM") Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions