[Qemu-devel] [PATCH for-2.11 0/2] Fix 'qemu-img info' on mirror target

Kevin Wolf posted 2 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171120141141.24626-1-kwolf@redhat.com
Test checkpatch passed
Test docker passed
Test ppc passed
Test s390x passed
block.c               |  5 ++++-
block/block-backend.c | 10 ++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
[Qemu-devel] [PATCH for-2.11 0/2] Fix 'qemu-img info' on mirror target
Posted by Kevin Wolf 6 years, 5 months ago
There is no reason to forbid 'qemu-img info' for an image that is used
as a mirror target (or intermediate image of a commit job) at the same
time.

This fixes the problem reported on qemu-discuss:
https://lists.gnu.org/archive/html/qemu-discuss/2017-11/msg00039.html

Kevin Wolf (2):
  block: Don't use BLK_PERM_CONSISTENT_READ for format probing
  block: Don't request I/O permission with BDRV_O_NO_IO

 block.c               |  5 ++++-
 block/block-backend.c | 10 ++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

-- 
2.13.6


Re: [Qemu-devel] [PATCH for-2.11 0/2] Fix 'qemu-img info' on mirror target
Posted by Fam Zheng 6 years, 5 months ago
On Mon, 11/20 15:11, Kevin Wolf wrote:
> There is no reason to forbid 'qemu-img info' for an image that is used
> as a mirror target (or intermediate image of a commit job) at the same
> time.
> 
> This fixes the problem reported on qemu-discuss:
> https://lists.gnu.org/archive/html/qemu-discuss/2017-11/msg00039.html
> 
> Kevin Wolf (2):
>   block: Don't use BLK_PERM_CONSISTENT_READ for format probing
>   block: Don't request I/O permission with BDRV_O_NO_IO
> 
>  block.c               |  5 ++++-
>  block/block-backend.c | 10 ++++++----
>  2 files changed, 10 insertions(+), 5 deletions(-)
> 
> -- 
> 2.13.6
> 

Reviewed-by: Fam Zheng <famz@redhat.com>