[libvirt] [PATCHv4 1/2] conf: make 'vnet' prefix a macro

Laine Stump laine at laine.org
Fri Jul 29 20:52:16 UTC 2011


On 07/29/2011 01:15 PM, Eric Blake wrote:
> Using a macro ensures that all the code is looking for the same
> prefix.
>
> * src/conf/domain_conf.h (VIR_NET_GENERATED_PREFIX): New macro.
> * src/conf/domain_conf.c (virDomainNetDefParseXML): Use it.
> * src/uml/uml_conf.c (umlConnectTapDevice): Likewise.
> * src/qemu/qemu_command.c (qemuNetworkIfaceConnect): Likewise.
> Suggested by Laine Stump.
> ---

ACK




More information about the libvir-list mailing list