[libvirt] [PATCH v2 0/3] pass the path of compress prog directly
John Ferlan
jferlan at redhat.com
Wed Sep 21 21:32:10 UTC 2016
On 09/19/2016 07:06 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at gmail.com>
>
> This series will pass the path of compress programe
> directly to functions such as doCoreDump, qemuDomainSaveInternal, etc.
> this can avoid one extra virFindFileInPath call in during virExec.
>
> Also reduce code duplication by macros.
>
> Chen Hanxiao (3):
> qemu_driver: pass path of compress prog directly
> qemu_driver: simplify compress prog check by macros
> qemu_driver: pass path of compress prog directly to doCoreDump
>
> src/qemu/qemu_driver.c | 242 ++++++++++++++++++++++++++-----------------------
> 1 file changed, 128 insertions(+), 114 deletions(-)
>
Not really what I had in mind.
I've posted a different approach instead. See
http://www.redhat.com/archives/libvir-list/2016-September/msg00971.html
BTW: Patch 2 fails syntax-check
John
More information about the libvir-list
mailing list