1575f3e qemu: command: Refactor code extracted to qemuBuildDriveSourceStr

Authored and Committed by Peter Krempa 7 years ago
    qemu: command: Refactor code extracted to qemuBuildDriveSourceStr
    
    Avoid a large block by tweaking the condition skipping empty drives and
    split up the switch containing two branches having different purpose.
    
        
file modified
+48 -53