Change in mom[master]: mom: communicate with qemu-guest-agent using hypervisor_ifac...

Adam Litke has submitted this change and it was merged. Change subject: mom: communicate with qemu-guest-agent using hypervisor_iface via libvirt ...................................................................... mom: communicate with qemu-guest-agent using hypervisor_iface via libvirt When the unix socket is defined for the qemu-guest-agent, libvirt connects to the socket for its internal usage, and so the other client cannot use it. Instead, libvirt_qemu provides an interface to communicate with the guest agent. With this patch, GuestQemuAgent will firstly try to communicate with the guest agent using libvirt via hypervisor_iface. When hypervisor_iface cannot provide access to the agent, it falls back to the socket interface. Change-Id: I8ba8d3cda466ca5212f4365ff3ee9ff2864524d6 Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com> Reviewed-on: http://gerrit.ovirt.org/18888 Reviewed-by: Adam Litke <agl@us.ibm.com> Tested-by: Adam Litke <agl@us.ibm.com> --- M mom/Collectors/GuestQemuAgent.py M mom/Collectors/QemuGuestAgentClient.py M mom/HypervisorInterfaces/libvirtInterface.py 3 files changed, 62 insertions(+), 8 deletions(-) Approvals: Adam Litke: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/18888 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8ba8d3cda466ca5212f4365ff3ee9ff2864524d6 Gerrit-PatchSet: 3 Gerrit-Project: mom Gerrit-Branch: master Gerrit-Owner: Tomoki Sekiyama <tomoki.sekiyama@hds.com> Gerrit-Reviewer: Adam Litke <agl@us.ibm.com> Gerrit-Reviewer: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
participants (1)
-
agl@us.ibm.com