commit | 9df7b25ab71cee770826d1e7983eb8b6715543d6 | [log] [tgz] |
---|---|---|
author | Jiang Liu <liuj97@gmail.com> | Fri Dec 07 13:43:50 2012 -0700 |
committer | Alex Williamson <alex.williamson@redhat.com> | Fri Dec 07 13:43:50 2012 -0700 |
tree | 4aaf6a8dd26d823ef587354704f40e76dd3f8211 | |
parent | 2007722a606bf9f195217f7afd2fbee4bc202c42 [diff] |
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: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>