summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé2018-11-16 16:53:23 +0100
committerEric Blake2018-11-19 18:16:46 +0100
commitb39b58d5d0da3e7057d7d636641018b0fc25139b (patch)
treebfaa775e95e06fc6f09f51b5fce6b06b267fe8a1 /include/exec/exec-all.h
parenttests: pull qemu-nbd iotest helpers into common.nbd file (diff)
downloadqemu-b39b58d5d0da3e7057d7d636641018b0fc25139b.tar.gz
qemu-b39b58d5d0da3e7057d7d636641018b0fc25139b.tar.xz
qemu-b39b58d5d0da3e7057d7d636641018b0fc25139b.zip
tests: check if qemu-nbd is still alive before waiting
If the qemu-nbd UNIX socket has not shown up, the tests will sleep a bit and then check again repeatedly for up to 30 seconds. This is pointless if the qemu-nbd process has quit due to an error, so check whether the pid is still alive before waiting and retrying. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20181116155325.22428-5-berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions