[libvirt] IP Address of a domain

IKI-サガル バルウェ sagar.barve at ikic.co.jp
Wed Jun 16 08:01:03 UTC 2010


Hello,

I would like to obtain the IP Address of a domain using the libvirt API.

I see that the XMLDesc gives the MAC address, but not the IP Address.

I found out that the "vncdisplay" command option from "virsh" command line 
tool provides the IP Address and port number. How would I obtain this info 
using libvirt API.
Please help.

I am using libvirt version libvirtd (libvirt) 0.6.3.

Thanks and Regards
Sagar Barve 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100616/67551d7e/attachment-0001.htm>


More information about the libvir-list mailing list