Re: [libvirt] [PATCH 5/7] qemu: Use qemuGetCompressionProgram for error paths

2016-09-21 Thread Chen Hanxiao
At 2016-09-22 05:30:53, "John Ferlan" wrote: >Let's do some more code reuse - there are 3 other callers that care to >check/get the compress program. Each of those though cares whether the >requested cfg image is valid and exists. So, add a parameter to handle >those cases. >

[libvirt] [PATCH 5/7] qemu: Use qemuGetCompressionProgram for error paths

2016-09-21 Thread John Ferlan
Let's do some more code reuse - there are 3 other callers that care to check/get the compress program. Each of those though cares whether the requested cfg image is valid and exists. So, add a parameter to handle those cases. NB: We won't need to initialize the returned value in the case where