tests: fix virtio-blk-test ISR dependence
commit12dfbdcabfecd898c4ee77b7710795ddb94a7200
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 28 Jun 2017 18:47:22 +0000 (28 19:47 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 30 Jun 2017 10:03:45 +0000 (30 11:03 +0100)
tree7e501b154d791357d00e2366c7f629077dc40900
parent29509a7bbc6411c72d748bd636c434258bb0aef2
tests: fix virtio-blk-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-5-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/virtio-blk-test.c