virt: xform environment processing into standard