Re: [PATCH 1/4] block: Improve empty format-specific info dump

2022-05-04 Thread Kevin Wolf
Am 03.05.2022 um 16:55 hat Hanna Reitz geschrieben: > When a block driver supports obtaining format-specific information, but > that object only contains optional fields, it is possible that none of > them are present, so that dump_qobject() (called by > bdrv_image_info_specific_dump()) will not pr

[PATCH 1/4] block: Improve empty format-specific info dump

2022-05-03 Thread Hanna Reitz
When a block driver supports obtaining format-specific information, but that object only contains optional fields, it is possible that none of them are present, so that dump_qobject() (called by bdrv_image_info_specific_dump()) will not print anything. The callers of bdrv_image_info_specific_dump(

Re: [PATCH 1/4] block: Improve empty format-specific info dump

2022-05-03 Thread Eric Blake
On Tue, May 03, 2022 at 04:55:26PM +0200, Hanna Reitz wrote: > When a block driver supports obtaining format-specific information, but > that object only contains optional fields, it is possible that none of > them are present, so that dump_qobject() (called by > bdrv_image_info_specific_dump()) wi