[libvirt] [PATCH v3 2/6] Make qemu attach/detach functions public