Guest to Host message passing - guest's memory usage statistics & guest's IP address
Hi all,
I am new to KVM. I am using KVM for my M Tech final year project. In my project I need to know VM's IP address and memory usage from host OS itself (without SSHing into the VMs). For VM's IP address fetching, I used "nmap -an"'s output. But, nmap -an output doesn't work every time. It doesn't show VM in its result in some occasion (even if vm is running). So please help me out with the same. Is there any mechanism with which we can obtain memory usage per vm and vm's ip address from the host os itself. Also, is there any procedure with which we can communicate some information from guest to host os? If exist, how to do so? Thanks in advance Prince |
If you're planning to write some code yourself then try this api: http://libvirt.org/
|
You need to run an agent int the guest OS, that would be passing the required information to the host OS. there are different projects for this, as well as ready agents that come with RHEV.
This is one example: http://spice-space.org/page/Whiteboard/AgentProtocol This is another: http://wiki.qemu.org/Features/QAPI/GuestAgent |
All times are GMT -5. The time now is 06:46 PM. |