diff options
author | Jason Wang | 2017-03-14 08:25:05 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2017-03-15 18:59:18 +0100 |
commit | 60a8d8023473dd24957b3a66824f66cd35b80d64 (patch) | |
tree | 90b56c2b3abcc8c049aafe519e24c71522d956f4 /pc-bios/openbios-sparc64 | |
parent | Revert "virtio: unbreak virtio-pci with IOMMU after caching ring translations" (diff) | |
download | qemu-60a8d8023473dd24957b3a66824f66cd35b80d64.tar.gz qemu-60a8d8023473dd24957b3a66824f66cd35b80d64.tar.xz qemu-60a8d8023473dd24957b3a66824f66cd35b80d64.zip |
virtio-pci: reset modern vq meta data
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: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'pc-bios/openbios-sparc64')
0 files changed, 0 insertions, 0 deletions