3685e2d qemu: domain: Extract common clearing of VM private data

Authored and Committed by Peter Krempa 6 years ago
    qemu: domain: Extract common clearing of VM private data
    
    VM private data is cleared when the VM is turned off and also when the
    VM object is being freed. Some of the clearing code was duplicated.
    Extract it to a separate function.
    
    This also removes the now unnecessary function
    qemuDomainClearPrivatePaths.
    
        
file modified
+51 -25
file modified
+2 -2
file modified
+2 -34