mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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>
This commit is contained in:
@@ -280,7 +280,7 @@ test_libraries += virmocklibxl.la
|
||||
endif WITH_LIBXL
|
||||
|
||||
if WITH_QEMU
|
||||
test_programs += qemuxml2xmltest \
|
||||
test_programs += qemuxml2argvtest qemuxml2xmltest \
|
||||
qemuargv2xmltest qemuhelptest domainsnapshotxml2xmltest \
|
||||
qemumonitortest qemumonitorjsontest qemuhotplugtest \
|
||||
qemuagenttest qemucapabilitiestest qemucaps2xmltest \
|
||||
@@ -288,11 +288,6 @@ test_programs += qemuxml2xmltest \
|
||||
qemucommandutiltest \
|
||||
qemublocktest \
|
||||
$(NULL)
|
||||
if WITH_NETWORK
|
||||
# Dep on the network driver callback for resolving NIC
|
||||
# actual type. XXX remove this dep.
|
||||
test_programs += qemuxml2argvtest
|
||||
endif WITH_NETWORK
|
||||
test_helpers += qemucapsprobe
|
||||
test_libraries += libqemumonitortestutils.la \
|
||||
libqemutestdriver.la \
|
||||
|
||||
Reference in New Issue
Block a user