6edb97f Fix vmdef usage after domain crash in monitor on device detach

Authored and Committed by Ján Tomko 9 years ago
    Fix vmdef usage after domain crash in monitor on device detach
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1161024
    
    In the device type-specific functions, exit early
    if the domain has disappeared, because the cleanup
    should have been done by qemuProcessStop.
    
    Check the return value in processDeviceDeletedEvent
    and qemuProcessUpdateDevices.
    
    Skip audit and removing the device from live def because
    it has already been cleaned up.
    
        
file modified
+2 -1
file modified
+56 -35
file modified
+3 -3
file modified
+4 -2