]> xenbits.xensource.com Git - libvirt.git/commit
conf: pass netprefix in the domain parser config struct
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 26 Nov 2019 16:44:40 +0000 (16:44 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 9 Dec 2019 10:15:16 +0000 (10:15 +0000)
commita7b6e49d00571b35703daf6e3b758474dbc41273
treef99c75ae315dab23a499307af278a509cb15de80
parent4a4132b4625778cf80acb9c92d06351b44468ac3
conf: pass netprefix in the domain parser config struct

Instead of using the virCapsPtr information, pass the driver specific
netprefix in the domain parser struct. This eliminates one more use of
virCapsPtr from the XML parsing/formatting code.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libxl/libxl_domain.c