]> git.proxmox.com Git - mirror_qemu.git/commit
msix: unset PCIDevice::msix_vector_poll_notifier in rollback
authorRobert Hoo <robert.hoo.linux@gmail.com>
Mon, 13 Nov 2023 08:13:49 +0000 (16:13 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 2 Dec 2023 20:56:49 +0000 (15:56 -0500)
commit2d37fe9e5e61b04bddbed00dbb7436e61a01c115
tree2db939d03de82c23471853bc0610c05273eb80f3
parentc8559fcb1559b472e7ec79b990f5206249b2ba69
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: bbef882cc193 ("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>
hw/pci/msix.c