From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [libvirt] Using libvirt to obtain ip address of virtual domain Date: Wed, 17 Feb 2010 20:52:06 +0000 Message-ID: References: <27627745.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <27627745.post@talk.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ranjan188 , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 17/02/2010 19:09, "ranjan188" wrote: > I am new to libvirt and am looking for the most efficient way to > programmatically obtain the ip address of all the Guest virtual machine from > host machine . Libvirt is providing access to xen in my case. A nudge in the > right direction would be appreciated! There isn't necessarily an easy way to do that on the box, if for example guests are served IP addresses from an external DHCP server. The guests don't communicate their IP address info back to the local host controller (dom0). -- Keir