libvirt: detect the current hypervisor and use that in the domain XML