[libvirt] [PATCH v2] Fix libvirtd crash possibility