qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info
@ 2016-06-03  9:07 Fam Zheng
  2016-06-03 14:52 ` Max Reitz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fam Zheng @ 2016-06-03  9:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Max Reitz, qemu-block

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 <famz@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info
  2016-06-03  9:07 [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info Fam Zheng
@ 2016-06-03 14:52 ` Max Reitz
  2016-06-03 23:45   ` Fam Zheng
  2016-06-06 11:04 ` Max Reitz
  2016-06-06 11:04 ` Max Reitz
  2 siblings, 1 reply; 5+ messages in thread
From: Max Reitz @ 2016-06-03 14:52 UTC (permalink / raw)
  To: Fam Zheng, qemu-devel; +Cc: Kevin Wolf, qemu-block

[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]

On 03.06.2016 11:07, Fam Zheng wrote:
> 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

> 
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
>  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
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info
  2016-06-03 14:52 ` Max Reitz
@ 2016-06-03 23:45   ` Fam Zheng
  0 siblings, 0 replies; 5+ messages in thread
From: Fam Zheng @ 2016-06-03 23:45 UTC (permalink / raw)
  To: Max Reitz; +Cc: qemu-devel, Kevin Wolf, qemu-block

On Fri, 06/03 16:52, Max Reitz wrote:
> On 03.06.2016 11:07, Fam Zheng wrote:
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info
  2016-06-03  9:07 [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info Fam Zheng
  2016-06-03 14:52 ` Max Reitz
@ 2016-06-06 11:04 ` Max Reitz
  2016-06-06 11:04 ` Max Reitz
  2 siblings, 0 replies; 5+ messages in thread
From: Max Reitz @ 2016-06-06 11:04 UTC (permalink / raw)
  To: Fam Zheng, qemu-devel; +Cc: Kevin Wolf, qemu-block

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On 03.06.2016 11:07, Fam Zheng wrote:
> 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 <famz@redhat.com>
> ---
>  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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info
  2016-06-03  9:07 [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info Fam Zheng
  2016-06-03 14:52 ` Max Reitz
  2016-06-06 11:04 ` Max Reitz
@ 2016-06-06 11:04 ` Max Reitz
  2 siblings, 0 replies; 5+ messages in thread
From: Max Reitz @ 2016-06-06 11:04 UTC (permalink / raw)
  To: Fam Zheng, qemu-devel; +Cc: Kevin Wolf, qemu-block

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

On 03.06.2016 11:07, Fam Zheng wrote:
> 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 <famz@redhat.com>
> ---
>  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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-06 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03  9:07 [Qemu-devel] [PATCH] iotests: 095: Clean up QEMU before showing image info Fam Zheng
2016-06-03 14:52 ` Max Reitz
2016-06-03 23:45   ` Fam Zheng
2016-06-06 11:04 ` Max Reitz
2016-06-06 11:04 ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).