msix: unset PCIDevice::msix_vector_poll_notifier in rollback
In the rollback in msix_set_vector_notifiers(), original patch forgot to undo msix_vector_poll_notifier pointer. Fixes:bbef882cc1
("msi: add API to get notified about pending bit poll") Signed-off-by: Robert Hoo <robert.hoo.linux@gmail.com> Message-Id: <20231113081349.1307-1-robert.hoo.linux@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> (cherry picked from commit2d37fe9e5e
) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
5c9f464531
commit
701afca639
@ -648,6 +648,7 @@ undo:
|
|||||||
}
|
}
|
||||||
dev->msix_vector_use_notifier = NULL;
|
dev->msix_vector_use_notifier = NULL;
|
||||||
dev->msix_vector_release_notifier = NULL;
|
dev->msix_vector_release_notifier = NULL;
|
||||||
|
dev->msix_vector_poll_notifier = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user