qemu: Don't report failure to destroy a destroyed domain
qemu: Don't report failure to destroy a destroyed domain

When destroying a domain libvirt marks it internally with a
beingDestroyed flag to make sure the qemuDomainDestroyFlags API itself
cleans up after the domain rather than letting an uninformed EOF handler
do it. However, when the domain is being started at the moment libvirt
was asked to destroy it, only the starting thread can properly clean up
after the domain and thus it ignores the beingDestroyed flag. Once
qemuDomainDestroyFlags finally gets a job, the domain may not be running
anymore, which should not be reported as an error if the domain has been
starting up.

https://bugzilla.redhat.com/show_bug.cgi?id=1445600

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>
Reviewed-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

jfehlig/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,zippy2/libvirt,eskultety/libvirt,eskultety/libvirt,zippy2/libvirt,eskultety/libvirt,libvirt/libvirt,libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,fabianfreyer/libvirt,crobinso/libvirt,andreabolognani/libvirt,crobinso/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,olafhering/libvirt,olafhering/libvirt,jfehlig/libvirt,crobinso/libvirt,jfehlig/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,zippy2/libvirt,eskultety/libvirt,nertpinx/libvirt,nertpinx/libvirt,crobinso/libvirt,olafhering/libvirt,jfehlig/libvirt,olafhering/libvirt