[libvirt] [PATCH rebase v4 0/5] qemu: use arp table of host to get the

Chen Hanxiao posted 5 patches 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180308071159.9861-1-chen_han_xiao@126.com
Test syntax-check passed
docs/news.xml                    |   9 ++
include/libvirt/libvirt-domain.h |   1 +
po/POTFILES.in                   |   1 +
src/Makefile.am                  |   1 +
src/libvirt-domain.c             |   7 ++
src/libvirt_private.syms         |   6 ++
src/qemu/qemu_driver.c           |  72 ++++++++++++++++
src/util/Makefile.inc.am         |   2 +
src/util/virarptable.c           | 181 +++++++++++++++++++++++++++++++++++++++
src/util/virarptable.h           |  48 +++++++++++
src/util/virnetlink.c            |  82 ++++++++++++++++++
src/util/virnetlink.h            |   2 +
tools/virsh-domain-monitor.c     |   2 +
tools/virsh.pod                  |   7 +-
14 files changed, 418 insertions(+), 3 deletions(-)
create mode 100644 src/util/virarptable.c
create mode 100644 src/util/virarptable.h
[libvirt] [PATCH rebase v4 0/5] qemu: use arp table of host to get the
Posted by Chen Hanxiao 6 years ago
introduce VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP to get ip address
of VM from the output of /proc/net/arp

Chen Hanxiao (5):
  util: introduce virNetlinkGetNeighbor to get neighbor table entry
  util: introduce helper to parse message from RTM_GETNEIGH query
  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                    |   9 ++
 include/libvirt/libvirt-domain.h |   1 +
 po/POTFILES.in                   |   1 +
 src/Makefile.am                  |   1 +
 src/libvirt-domain.c             |   7 ++
 src/libvirt_private.syms         |   6 ++
 src/qemu/qemu_driver.c           |  72 ++++++++++++++++
 src/util/Makefile.inc.am         |   2 +
 src/util/virarptable.c           | 181 +++++++++++++++++++++++++++++++++++++++
 src/util/virarptable.h           |  48 +++++++++++
 src/util/virnetlink.c            |  82 ++++++++++++++++++
 src/util/virnetlink.h            |   2 +
 tools/virsh-domain-monitor.c     |   2 +
 tools/virsh.pod                  |   7 +-
 14 files changed, 418 insertions(+), 3 deletions(-)
 create mode 100644 src/util/virarptable.c
 create mode 100644 src/util/virarptable.h

-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH rebase v4 0/5] qemu: use arp table of host to get the
Posted by Chen Hanxiao 6 years ago


At 2018-03-08 15:11:54, "Chen Hanxiao" <chen_han_xiao@126.com> wrote:
>introduce VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP to get ip address
>of VM from the output of /proc/net/arp
>
>Chen Hanxiao (5):
>  util: introduce virNetlinkGetNeighbor to get neighbor table entry
>  util: introduce helper to parse message from RTM_GETNEIGH query
>  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                    |   9 ++
> include/libvirt/libvirt-domain.h |   1 +
> po/POTFILES.in                   |   1 +
> src/Makefile.am                  |   1 +
> src/libvirt-domain.c             |   7 ++
> src/libvirt_private.syms         |   6 ++
> src/qemu/qemu_driver.c           |  72 ++++++++++++++++
> src/util/Makefile.inc.am         |   2 +
> src/util/virarptable.c           | 181 +++++++++++++++++++++++++++++++++++++++
> src/util/virarptable.h           |  48 +++++++++++
> src/util/virnetlink.c            |  82 ++++++++++++++++++
> src/util/virnetlink.h            |   2 +
> tools/virsh-domain-monitor.c     |   2 +
> tools/virsh.pod                  |   7 +-
> 14 files changed, 418 insertions(+), 3 deletions(-)
> create mode 100644 src/util/virarptable.c
> create mode 100644 src/util/virarptable.h
>
>-- 

ping

Regards,
- Chen

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH rebase v4 0/5] qemu: use arp table of host to get the
Posted by Michal Privoznik 6 years ago
On 03/08/2018 08:11 AM, Chen Hanxiao wrote:
> introduce VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP to get ip address
> of VM from the output of /proc/net/arp
> 
> Chen Hanxiao (5):
>   util: introduce virNetlinkGetNeighbor to get neighbor table entry
>   util: introduce helper to parse message from RTM_GETNEIGH query
>   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                    |   9 ++
>  include/libvirt/libvirt-domain.h |   1 +
>  po/POTFILES.in                   |   1 +
>  src/Makefile.am                  |   1 +
>  src/libvirt-domain.c             |   7 ++
>  src/libvirt_private.syms         |   6 ++
>  src/qemu/qemu_driver.c           |  72 ++++++++++++++++
>  src/util/Makefile.inc.am         |   2 +
>  src/util/virarptable.c           | 181 +++++++++++++++++++++++++++++++++++++++
>  src/util/virarptable.h           |  48 +++++++++++
>  src/util/virnetlink.c            |  82 ++++++++++++++++++
>  src/util/virnetlink.h            |   2 +
>  tools/virsh-domain-monitor.c     |   2 +
>  tools/virsh.pod                  |   7 +-
>  14 files changed, 418 insertions(+), 3 deletions(-)
>  create mode 100644 src/util/virarptable.c
>  create mode 100644 src/util/virarptable.h
> 


I've fixed both small issues I raised, ACKed and pushed.

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH rebase v4 0/5] qemu: use arp table of host to get the
Posted by Chen Hanxiao 6 years ago

At 2018-03-15 18:23:03, "Michal Privoznik" <mprivozn@redhat.com> wrote:
>On 03/08/2018 08:11 AM, Chen Hanxiao wrote:
>> introduce VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_ARP to get ip address
>> of VM from the output of /proc/net/arp
>> 
>> Chen Hanxiao (5):
>>   util: introduce virNetlinkGetNeighbor to get neighbor table entry
>>   util: introduce helper to parse message from RTM_GETNEIGH query
>>   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                    |   9 ++
>>  include/libvirt/libvirt-domain.h |   1 +
>>  po/POTFILES.in                   |   1 +
>>  src/Makefile.am                  |   1 +
>>  src/libvirt-domain.c             |   7 ++
>>  src/libvirt_private.syms         |   6 ++
>>  src/qemu/qemu_driver.c           |  72 ++++++++++++++++
>>  src/util/Makefile.inc.am         |   2 +
>>  src/util/virarptable.c           | 181 +++++++++++++++++++++++++++++++++++++++
>>  src/util/virarptable.h           |  48 +++++++++++
>>  src/util/virnetlink.c            |  82 ++++++++++++++++++
>>  src/util/virnetlink.h            |   2 +
>>  tools/virsh-domain-monitor.c     |   2 +
>>  tools/virsh.pod                  |   7 +-
>>  14 files changed, 418 insertions(+), 3 deletions(-)
>>  create mode 100644 src/util/virarptable.c
>>  create mode 100644 src/util/virarptable.h
>> 
>
>
>I've fixed both small issues I raised, ACKed and pushed.
>

Thanks.

Regards,
- Chen

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list