qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] virtio-balloon: discard virtqueue element o


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/3] virtio-balloon: discard virtqueue element on reset
Date: Wed, 7 Sep 2016 13:48:28 -0400
User-agent: Mutt/1.7.0 (2016-08-17)

On Wed, Sep 07, 2016 at 05:20:47PM +0200, Ladi Prosek wrote:
> The one pending element is being freed but not discarded on device
> reset, which causes svq->inuse to creep up, eventually hitting the
> "Virtqueue size exceeded" error.
> 
> Properly discarding the element on device reset makes sure that its
> buffers are unmapped and the inuse counter stays balanced.
> 
> Cc: Michael S. Tsirkin <address@hidden>
> Cc: Roman Kagan <address@hidden>
> Cc: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Ladi Prosek <address@hidden>
> ---
>  hw/virtio/virtio-balloon.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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