Re: [PATCH RFC v2 4/5] conf: add caps to virDomainSaveConfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 03, 2016 at 09:40:36PM +0000, Joao Martins wrote:
> 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@xxxxxxxxxx>
> ---
>  src/bhyve/bhyve_driver.c  |  2 +-
>  src/conf/domain_conf.c    |  5 +++--
>  src/conf/domain_conf.h    |  1 +
>  src/libxl/libxl_driver.c  | 15 ++++++++-------
>  src/lxc/lxc_driver.c      | 20 +++++++++++---------
>  src/qemu/qemu_blockjob.c  |  1 +
>  src/qemu/qemu_driver.c    | 47 ++++++++++++++++++++++++++---------------------
>  src/qemu/qemu_migration.c |  3 ++-
>  src/qemu/qemu_process.c   |  5 +++--
>  src/uml/uml_driver.c      |  2 +-
>  10 files changed, 57 insertions(+), 44 deletions(-)

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]