qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] virtio-pci: Fix the failure process in kvm_virtio_pci_vec


From: Peter Maydell
Subject: Re: [PATCH v2] virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one()
Date: Thu, 30 May 2024 11:39:30 +0100

On Tue, 28 May 2024 at 09:48, Cindy Lu <lulu@redhat.com> wrote:
>
> 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>

Reported by Coverity: CID 1468940, 1543938.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]