qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH] iotests: 095: Clean up QEMU before showing image in


From: Fam Zheng
Subject: [Qemu-block] [PATCH] iotests: 095: Clean up QEMU before showing image info
Date: Fri, 3 Jun 2016 17:07:52 +0800

Somehow in my locking series, I missed this case where concurrent access
to an image is performed, perhaps we can remove this case independently.

Signed-off-by: Fam Zheng <address@hidden>
---
 tests/qemu-iotests/095 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/qemu-iotests/095 b/tests/qemu-iotests/095
index dad04b9..030adb2 100755
--- a/tests/qemu-iotests/095
+++ b/tests/qemu-iotests/095
@@ -74,6 +74,8 @@ _send_qemu_cmd $h "{ 'execute': 'block-commit',
                                  'arguments': { 'device': 'test',
                                  'top': '"${TEST_IMG}.snp1"' } }" 
"BLOCK_JOB_COMPLETED"
 
+_cleanup_qemu
+
 echo
 echo "=== Base image info after commit and resize ==="
 TEST_IMG="${TEST_IMG}.base" _img_info | _filter_img_info
-- 
2.8.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]