[libvirt] [PATCH] qemu: fix potential dead lock