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