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

2019-04-11 Thread Vladimir Sementsov-Ogievskiy
10.04.2019 23:57, 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 no

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

2019-04-10 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