[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] virtio-pci: reset modern vq meta
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] virtio-pci: reset modern vq meta data |
Date: |
Mon, 20 Mar 2017 13:31:37 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Tue, Mar 14, 2017 at 03:25:05PM +0800, Jason Wang wrote:
> We don't reset proxy->vqs[].{num|desc[]|avail[]|used[]}. This means if
> a driver enable the vq without setting vq address after reset. The old
> addresses were leaked. Fixing this by resetting modern vq meta data
> during device reset.
>
> Cc: address@hidden
> Signed-off-by: Jason Wang <address@hidden>
> ---
> hw/virtio/virtio-pci.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature