diff options
author | Jason Wang <jasowang@redhat.com> | 2017-03-14 15:25:05 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-03-15 19:59:18 +0200 |
commit | 60a8d8023473dd24957b3a66824f66cd35b80d64 (patch) | |
tree | 90b56c2b3abcc8c049aafe519e24c71522d956f4 /scripts | |
parent | f0edf2397896aef1799dc9b5818683ea16577030 (diff) |
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 'scripts')
0 files changed, 0 insertions, 0 deletions