iotests: add pause_wait
commitf03d9d243f4639fa19c8909078988790e5c08c03
authorJohn Snow <jsnow@redhat.com>
Sat, 10 Mar 2018 08:27:31 +0000 (10 03:27 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 Mar 2018 11:01:24 +0000 (19 12:01 +0100)
treefae320c0a71d8b0c4e390ba509850c4beb3f9cd2
parentc9de40505f257a325e76f630c203432c77795461
iotests: add pause_wait

Split out the pause command into the actual pause and the wait.
Not every usage presently needs to resubmit a pause request.

The intent with the next commit will be to explicitly disallow
redundant or meaningless pause/resume requests, so the tests
need to become more judicious to reflect that.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/030
tests/qemu-iotests/055
tests/qemu-iotests/iotests.py