[libvirt] Get IP address of a running domain

adrian wyssen wyssenadrian at gmail.com
Tue Jul 6 18:23:22 UTC 2010

Sorry bothering you again, but I have another question: I did not find any
possibility to get the IP address of a running domain with libvirt. I can
get the domain pointer but I did not find any function in the API returning
my the IP address of the domain. I just can get other information about the
domain with virDomainGetInfo, but no IP. I want to be able to get either a
static assigned IP or a dynamically received IP from a DHCP server.

PS: I use the ESX driver.
Thanks for giving me a hint.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100706/d678c552/attachment-0001.htm>

More information about the libvir-list mailing list