At 2016-09-22 05:30:48, "John Ferlan" <jfer...@redhat.com> wrote:
>Rather than try to describe what I was thinking about for the passing
>the compress program directly series from Chen Hanxiao:
>I took the liberty of creating my own set of patches which should end
>in the more or less same result.
>The primary benefit is not calling virFileInPath twice since we already
>get it at least once for the various compressed program callers, let's
>pass what we originally found.
>John Ferlan (7):
> qemu: Move getCompressionType
> qemu: Adjust doCoreDump to call getCompressionType
> qemu: Introduce helper qemuGetCompressionProgram
> qemu: Remove getCompressionType
> qemu: Use qemuGetCompressionProgram for error paths
> qemu: Remove qemuCompressProgramAvailable
> qemu: Get/return compressedpath program
> src/qemu/qemu_driver.c | 235 +++++++++++++++++++++++--------------------------
> 1 file changed, 111 insertions(+), 124 deletions(-)
Looks that Patch 1, 3 and 4 should be scrash into one :).
Some other inline comments, Please check.
libvir-list mailing list