Re: [PATCH v2 2/3] qemu-img: map: report compressed data blocks

2023-08-29 Thread Hanna Czenczek
On 29.08.23 08:44, Andrey Drobyshev wrote: On 8/25/23 17:14, Hanna Czenczek wrote: On 06.07.23 18:30, Andrey Drobyshev wrote: Right now "qemu-img map" reports compressed blocks as containing data but having no host offset.  This is not very informative.  Instead, let's add another boolean field

Re: [PATCH v2 2/3] qemu-img: map: report compressed data blocks

2023-08-28 Thread Andrey Drobyshev
On 8/25/23 17:14, Hanna Czenczek wrote: > On 06.07.23 18:30, Andrey Drobyshev wrote: >> Right now "qemu-img map" reports compressed blocks as containing data >> but having no host offset.  This is not very informative.  Instead, >> let's add another boolean field named "compressed" in case JSON out

Re: [PATCH v2 2/3] qemu-img: map: report compressed data blocks

2023-08-25 Thread Hanna Czenczek
On 06.07.23 18:30, Andrey Drobyshev wrote: Right now "qemu-img map" reports compressed blocks as containing data but having no host offset. This is not very informative. Instead, let's add another boolean field named "compressed" in case JSON output mode is specified. This is achieved by utili

Re: [PATCH v2 2/3] qemu-img: map: report compressed data blocks

2023-07-12 Thread Denis V. Lunev
On 7/6/23 18:30, Andrey Drobyshev wrote: Right now "qemu-img map" reports compressed blocks as containing data but having no host offset. This is not very informative. Instead, let's add another boolean field named "compressed" in case JSON output mode is specified. This is achieved by utilizi

[PATCH v2 2/3] qemu-img: map: report compressed data blocks

2023-07-06 Thread Andrey Drobyshev via
Right now "qemu-img map" reports compressed blocks as containing data but having no host offset. This is not very informative. Instead, let's add another boolean field named "compressed" in case JSON output mode is specified. This is achieved by utilizing new allocation status flag BDRV_BLOCK_CO