introduce VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP to get ip address
of VM from the output of /proc/net/arp
Chen Hanxiao (4):
util: introduce helper to parse /proc/net/arp
qemu: introduce qemuARPGetInterfaces to get IP from host's arp table
virsh: add --source arp to domifaddr
news: qemu: use arp table of host to get the IP address of guests
docs/news.xml | 5 +++
include/libvirt/libvirt-domain.h | 1 +
src/libvirt_private.syms | 2 ++
src/qemu/qemu_driver.c | 75 ++++++++++++++++++++++++++++++++++++++++
src/util/virmacaddr.c | 67 +++++++++++++++++++++++++++++++++++
src/util/virmacaddr.h | 18 ++++++++++
tools/virsh-domain-monitor.c | 2 ++
tools/virsh.pod | 7 ++--
8 files changed, 174 insertions(+), 3 deletions(-)
--
2.14.3