]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: replace networkGetNetworkAddress with public API calls
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 25 Jan 2018 09:35:49 +0000 (09:35 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Feb 2018 11:05:10 +0000 (11:05 +0000)
commit9069331b8e82de9353fb90f17735686606018617
treed66cb527562775834ca92f9a91e14416a137384a
parent1438aea4ee4c65be1c7e5096a5549bc0f7581165
qemu: replace networkGetNetworkAddress with public API calls

The QEMU driver calls into the network driver to get the first IP
address of the network. This information is readily available via the
formal public API by fetching the XML doc and then parsing it.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/network/bridge_driver.c
src/network/bridge_driver.h
src/qemu/qemu_process.c