Libvirt xml helper