Adapt to libvirt needs