From: Kevin Wolf Date: Wed, 12 Jul 2017 11:53:03 +0000 (+0200) Subject: qemu-iotests: Test unplug of -device without drive X-Git-Tag: v2.10.0-rc0~38^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=208c38e4e4a5e808b5720329f3633f4ab2bc5026;p=thirdparty%2Fqemu.git qemu-iotests: Test unplug of -device without drive This caused an assertion failure until recently because the BlockBackend would be detached on unplug, but was in fact never attached in the first place. Add a regression test. Signed-off-by: Kevin Wolf Reviewed-by: Eric Blake Reviewed-by: John Snow --- diff --git a/tests/qemu-iotests/067 b/tests/qemu-iotests/067 index 38d23fce6b5..5d4ca4bc615 100755 --- a/tests/qemu-iotests/067 +++ b/tests/qemu-iotests/067 @@ -137,6 +137,19 @@ run_qemu <