]> xenbits.xensource.com Git - libvirt.git/commit
libxl: set net device prefix
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 3 Feb 2016 21:40:37 +0000 (21:40 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Feb 2016 12:47:42 +0000 (12:47 +0000)
commita040ba9ed495440ab63b202ae49323f81099271b
treeee63b3d8c5be697b0bb62a03fdada934792b406f
parentcd57b7c742a6b06d6064c00f99d4cbd55f06b5eb
libxl: set net device prefix

Use the newly added virCapabilitiesSetNetPrefix to set
the network prefix for the driver. This in return will
be use by NetDefFormat() and NetDefParseXML() routines
to free any interface name that start with the registered
prefix.

Acked-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
src/libxl/libxl_conf.c
src/libxl/libxl_conf.h