b19710b qemu: domain: Refactor control flow in qemuDomainDetermineDiskChain

Authored and Committed by Peter Krempa 6 years ago
    qemu: domain: Refactor control flow in qemuDomainDetermineDiskChain
    
    Split out clearing of the backing chain prior to other code since it
    will be required later and optimize few layers of nested conditions and
    loops.
    
        
file modified
+17 -20