]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce helper qemuGetCompressionProgram
authorJohn Ferlan <jferlan@redhat.com>
Tue, 13 Sep 2016 14:01:47 +0000 (10:01 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 26 Sep 2016 11:44:42 +0000 (07:44 -0400)
commit02d32d2d5d307d264695a65b98656629d53861ba
tree67030255049cf183da490b14104109465f387371
parent6994815467f4c677e5d9720911c21788c969c7de
qemu: Introduce helper qemuGetCompressionProgram

Split out the guts of getCompressionType to perform the same functionality
in the new helper program with a subsequent patch goal to be reusable for
other callers making similar checks/calls to ensure the compression type
is valid and that the compression program cannot be found.
src/qemu/qemu_driver.c