iotests: 095: Clean up QEMU before showing image info
PATCH 1/1 iotests: 095: Clean up QEMU before showing image info
Somehow in my locking series, I missed this case where concurrent access to an image is performed, perhaps we can remove this case independently.
--- tests/qemu-iotests/095 | 2 ++ 1 file changed, 2 insertions(+)
tests/qemu-iotests/095 +2 -0
@@ -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
Signature · 1 line
2.8.2
Quoted 2 lines · Fam Zheng
Somehow in my locking series, I missed this case where concurrent access to an image is performed, perhaps we can remove this case independently.
The patch itself is good, but this commit message will not make much sense in the git log. I'd be fine with removing it completely because the title itself should be sufficient. (Which is something I can do in case you agree.)
Max
Quoted 20 lines
Signed-off-by Fam Zheng <[email protected]>--- tests/qemu-iotests/095 | 2 ++ 1 file changed, 2 insertions(+)tests/qemu-iotests/095 +2
-0@@ -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
Quoted 8 lines · Max Reitz
Quoted 2 lines · Fam Zheng
Somehow in my locking series, I missed this case where concurrent access to an image is performed, perhaps we can remove this case independently.
The patch itself is good, but this commit message will not make much sense in the git log. I'd be fine with removing it completely because the title itself should be sufficient. (Which is something I can do in case you agree.)
Yes, agreed completely. Thanks!
Fam
Quoted 7 lines · Fam Zheng
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 <[email protected]>--- tests/qemu-iotests/095 | 2 ++ 1 file changed, 2 insertions(+)
Thanks, Fam, I've removed the commit message and applied the patch to my block branch:
Quoted 7 lines · Fam Zheng
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 <[email protected]>--- tests/qemu-iotests/095 | 2 ++ 1 file changed, 2 insertions(+)
Thanks, Fam, I've removed the commit message and applied the patch to my block branch:
https://github.com/XanClic/qemu/commits/block
Max