[libvirt] [PATCH 04/14] Factor qemuBuildHostNetStr() out from qemuBuildCommandLine()

Daniel Veillard veillard at redhat.com
Mon Jul 20 12:33:45 UTC 2009


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 at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list