82f349a qemu: command: Check for empty network source when formatting drive cmd

Authored and Committed by Peter Krempa 9 years ago
    qemu: command: Check for empty network source when formatting drive cmd
    
    Use the virStorageSourceIsEmpty helper to determine whether the drive
    source is empty rather than checking for src->path. This will fix start
    of VM with empty network cdrom that would not report any error.
    
        
file modified
+4 -5