03b994f qemu: call endjob in RevertToSnapshot

1 file Authored by Jincheng Miao 9 years ago, Committed by ericb 9 years ago,
    qemu: call endjob in RevertToSnapshot
    
    In qemuDomainRevertToSnapshot(), it will check snap->def->state.
    But when the state is PMSUSPENDED/NOSTATE/BLOCKED, it forgets to
    call qemuDomainObjEndJob.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1134154
    Bug introduced in commit 1e833899.
    
    Signed-off-by: Jincheng Miao <jmiao@redhat.com>
    Signed-off-by: Eric Blake <eblake@redhat.com>
    
        
file modified
+2 -2