tools/virtio: Reset index in virtio_test --reset.
authorEugenio Pérez <eperezma@redhat.com>
Sat, 18 Apr 2020 10:22:16 +0000 (12:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Jun 2020 16:34:22 +0000 (12:34 -0400)
commit1d8bf5c3a3a1b90c39ccbafb3aa63ffc5196b142
treea2934be04c56a93050d51f0ecd6239ee8a7e28ae
parent6741239260293e46a32a141fb61bf2c062b0b6ed
tools/virtio: Reset index in virtio_test --reset.

This way behavior for vhost is more like a VM.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Link: https://lore.kernel.org/r/20200418102217.32327-8-eperezma@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/virtio_test.c