In my environment i want to use ovirt-ga replace qemu-ga. Hypervisor is Ubuntu 14.04 (OpenStack Icehouse) and the virtual machine is Ubuntu 14.04 cloudimage.
In Hypervisor launch a instance and attach a chardev, like:
# ps -ef | grep guest_agent
libvirt+ 2649 1 1 Sep08 ? 00:15:36 /usr/bin/qemu-system-x86_64 ...
-chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-00000210.sock,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 ...
In virtual machine was installed ovirt-guest-agent 1.0.11-1.1 and service running OK.
But i don't know how to get memory usage and other information in hypervisor(OpenStack compute node)? I have failed when i try to use linux command 'socat' and python socket.
I need some sample or link.
Thanks a lot!
Nick Xiao