]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: reimplement virDomainNetResolveActualType in terms of public API
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Feb 2018 15:08:53 +0000 (15:08 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 19 Feb 2018 11:11:46 +0000 (11:11 +0000)
commit0c63c117a2d17f66b05dd83e50aa36ac0b0c9843
tree03c2caf9e2d2f1f0bc0f6248bcf551191e7884f6
parent70854ea3bcc69f19f5bcbf6183cf056798ed3366
conf: reimplement virDomainNetResolveActualType in terms of public API

Now that we have the ability to easily open connections to secondary
drivers, eg network:///system,  it is possible to reimplement the
virDomainNetResolveActualType method in terms of the public API. This
avoids the need to have the network driver provide a callback for it.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/network/bridge_driver.c
tests/Makefile.am