iotests: Add "wait" functionality to _cleanup_qemu
authorMax Reitz <mreitz@redhat.com>
Fri, 6 Feb 2015 21:06:17 +0000 (16:06 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 14:36:03 +0000 (14:36 +0000)
commitea82aa42835e3f56b3649c92764ac40552aac789
treea4995a955192e81be9a0d7dc9beb24d1cad77eef
parentf53a829bb9ef14be800556cbc02d8b20fc1050a7
iotests: Add "wait" functionality to _cleanup_qemu

The qemu process does not always need to be killed, just waiting for it
can be fine, too. This introduces a way to do so.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1423256778-3340-3-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/common.qemu