Re: [Qemu-devel] [PATCH for-next 1/6] qemu-img: Move quiet into ImgConvertState

2019-02-13 Thread Eric Blake
On 12/3/18 11:52 AM, Max Reitz wrote: > Move img_convert()'s quiet flag into the ImgConvertState so it is > accessible by nested functions. -q dictates that it suppresses anything > but errors, so if those functions want to emit warnings, they need to > query this flag first. (There currently are

[Qemu-devel] [PATCH for-next 1/6] qemu-img: Move quiet into ImgConvertState

2018-12-03 Thread Max Reitz
Move img_convert()'s quiet flag into the ImgConvertState so it is accessible by nested functions. -q dictates that it suppresses anything but errors, so if those functions want to emit warnings, they need to query this flag first. (There currently are no such warnings, but there will be as of the