02d32d2 qemu: Introduce helper qemuGetCompressionProgram

Authored and Committed by John Ferlan 7 years ago
    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.
    
        
file modified
+46 -21