Commit e6c172ad authored by Max Reitz's avatar Max Reitz Committed by Michael Roth
Browse files

iotests: Only kill NBD server if it runs


There may be NBD tests which do not create a sample image and simply
test whether wrong usage of the protocol is rejected as expected. In
this case, there will be no NBD server and trying to kill it during
clean-up will fail.

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
(cherry picked from commit f798068c

)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 07ede686
Showing with 3 additions and 1 deletion
+3 -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment