Here's version 4 of the patch, which I believe covers all the things
you've raised. The changes since version 3 are:
(a) 'sed' snippets reformulated as you suggested
(b) const-correctness changes added to this patch
(c) We don't include the generated files virsh-net-edit.c or
virsh-pool-edit.c in CVS (or in the tarball).
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v