f41be29 qemu: Move vm->persistent check into qemuDomainRemoveInactive

Authored and Committed by mprivozn 8 years ago
    qemu: Move vm->persistent check into qemuDomainRemoveInactive
    
    So far we have the following pattern occurring over and over
    again:
    
      if (!vm->persistent)
          qemuDomainRemoveInactive(driver, vm);
    
    It's safe to put the check into the function and save some LoC.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+8 -1
file modified
+16 -26
file modified
+5 -9
file modified
+4 -8