]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qemu-iotests: Allow starting new qemu after cleanup
authorKevin Wolf <kwolf@redhat.com>
Fri, 9 Jun 2017 11:32:48 +0000 (13:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:12 +0000 (14:51 +0200)
commitecaf8c8a6fdd2153f1652d1598c4e344cc961e3b
tree361a9f15e96e759a26bc097350bd365e5d74102f
parent4f78a16fee462471416dc49b409d57b2071cf3d9
qemu-iotests: Allow starting new qemu after cleanup

After _cleanup_qemu(), test cases should be able to start the next qemu
process and call _cleanup_qemu() for that one as well. For this to work
cleanly, we need to improve the cleanup so that the second invocation
doesn't try to kill the qemu instances from the first invocation a
second time (which would result in error messages).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/common.qemu