Skip to content
Snippets Groups Projects
Commit 9df7b25a authored by Jiang Liu's avatar Jiang Liu Committed by Alex Williamson
Browse files

VFIO: unregister IOMMU notifier on error recovery path


On error recovery path in function vfio_create_group(), it should
unregister the IOMMU notifier for the new VFIO group. Otherwise it may
cause invalid memory access later when handling bus notifications.

Signed-off-by: default avatarJiang Liu <jiang.liu@huawei.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 2007722a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment