tests: fix virtio-net-test ISR dependence
commit8e11c9d3653282b33c20e632e21aa640b2772629
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 28 Jun 2017 18:47:23 +0000 (28 19:47 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 30 Jun 2017 10:03:45 +0000 (30 11:03 +0100)
tree7622794703d7cbfa1fabf77a61c2009f00959ce2
parent12dfbdcabfecd898c4ee77b7710795ddb94a7200
tests: fix virtio-net-test ISR dependence

Use the new used ring APIs instead of assuming ISR being set means the
request has completed.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Tested-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20170628184724.21378-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/virtio-net-test.c