[libvirt] how libvirt know the hostname of vm