My EDITOR variable is set to "/usr/bin/env vim". This does not work on virsh: virsh # net-edit bridge virhe: /usr/bin/env vim: $EDITOR environment variable contains shell meta or other unacceptable characters Perhaps misquoted shell variable expansion somewhere?
Posted upstream here & will go into next release http://www.redhat.com/archives/libvir-list/2010-March/msg00540.html
Now upstream, closing.