[libvirt] [PATCH 1/4] qemuBuildHostNetStr: use type_sep earlier

Pavel Hrdina phrdina at redhat.com
Fri Oct 21 12:16:31 UTC 2016


On Fri, Oct 14, 2016 at 04:32:15PM +0200, Ján Tomko wrote:
> When hotplugging networks with ancient QEMUs not supporting
> QEMU_CAPS_NETDEV, we use space instead of a comma as the separator
> between the network type and other options.
> 
> Except for "user", all the network types pass other options
> and use up the first separator by the time we get to the section
> that adds the alias (or vlan for QEMUs without CAPS_NETDEV).
> 
> Since the alias/vlan is mandatory, convert all preceding code to add
> the separator at the end, removing the need to rewrite type_sep for
> all types but NET_TYPE_USER.
> ---

ACK

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161021/05fdb112/attachment-0001.sig>


More information about the libvir-list mailing list