On Mon, Jul 20, 2009 at 12:51:14PM +0100, Mark McLoughlin wrote: > Re-factor this code so that it can be used for NIC hotplug > too. The awkward prefix and type_sep arguments are needed to > allow us to do "host_net_add tap vlan=..." > > * src/qemu_conf.c: factor the net backend string formatting > code into its own function > --- > src/qemu_conf.c | 233 +++++++++++++++++++++++++++++-------------------------- > 1 files changed, 122 insertions(+), 111 deletions(-) It looks like it will be nicer, yes though patch output is a bit confusing :-) ACK Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list