]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one()
authorCindy Lu <lulu@redhat.com>
Tue, 28 May 2024 08:48:15 +0000 (16:48 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 4 Jul 2024 21:13:01 +0000 (00:13 +0300)
commit0d2c2676384ed5ae6f60ad70cd24ea3a4cf5223f
tree676d4e4b27db09c4deb44253c9771502b09e2bf4
parentaea89f41799f85ca1ed724d9e5fc2fc6cce25078
virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one()

In function kvm_virtio_pci_vector_use_one(), the function will only use
the irqfd/vector for itself. Therefore, in the undo label, the failing
process is incorrect.
To fix this, we can just remove this label.

Fixes: f9a09ca3ea ("vhost: add support for configure interrupt")
Cc: qemu-stable@nongnu.org
Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20240528084840.194538-1-lulu@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit a113d041e8d0b152d72a7c2bf47dd09aabf9ade2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/virtio/virtio-pci.c