b8d6ba9 qemu: Make qemuDomainPrepareDiskChainElement aware of remote storage

Authored and Committed by Peter Krempa 9 years ago
    qemu: Make qemuDomainPrepareDiskChainElement aware of remote storage
    
    Refactor the function to accept a virStorageSourcePtr instead of just
    the path, add a check to run it only on local storage and fix callers
    (possibly by using a newly introduced wrapper that wraps a path in the
     virStorageSource struct for legacy code)
    
        
file modified
+49 -28