]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add caps to virDomainSaveConfig
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 3 Feb 2016 21:40:36 +0000 (21:40 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Feb 2016 12:38:27 +0000 (12:38 +0000)
commitcd57b7c742a6b06d6064c00f99d4cbd55f06b5eb
treea1e22d89546c341e5d6dae2f74a38e014888d23b
parentd239a5427f9f0998e9501320a85269f50c4f0ed4
conf: add caps to virDomainSaveConfig

virDomainSaveConfig calls virDomainDefFormat which was setting the caps
to NULL, thus keeping the old behaviour (i.e. not looking at
netprefix). This patch adds the virCapsPtr to the function and allows
the configuration to be saved and skipping interface names that were
registered with virCapabilitiesSetNetPrefix().

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
src/bhyve/bhyve_driver.c
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/qemu/qemu_blockjob.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c
src/uml/uml_driver.c