summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-04-23 14:21:34 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-04-27 20:49:45 +0200
commit27a46dcf5038e20451101ed2d5414aebf3846e27 (patch)
tree054969c217d461cb4e5de39b37f67eb40be0585d /scripts/qapi-commands.py
parent294ce717e0f212ed0763307f3eab72b4a1bdf4d0 (diff)
downloadfocaccia-qemu-27a46dcf5038e20451101ed2d5414aebf3846e27.tar.gz
focaccia-qemu-27a46dcf5038e20451101ed2d5414aebf3846e27.zip
virtio-net: fix the upper bound when trying to delete queues
Virtqueue were indexed from zero, so don't delete virtqueue whose
index is n->max_queues * 2 + 1.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: qemu-stable <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/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions