[libvirt] [PATCH v2 2/2] qemu: avoid rare race when undefining domain