From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8l5M-0007je-Cg for qemu-devel@nongnu.org; Fri, 03 Jun 2016 05:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8l5K-0006g7-Bk for qemu-devel@nongnu.org; Fri, 03 Jun 2016 05:08:07 -0400 From: Fam Zheng Date: Fri, 3 Jun 2016 17:07:52 +0800 Message-Id: <1464944872-24484-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Max Reitz , qemu-block@nongnu.org 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 --- 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