WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [libvirt] Using libvirt to obtain ip address of virtual

To: ranjan188 <ran_foru@xxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [libvirt] Using libvirt to obtain ip address of virtual domain
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 17 Feb 2010 20:52:06 +0000
Cc:
Delivery-date: Wed, 17 Feb 2010 12:52:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <27627745.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqwBMrqcAXHjmaJSj2UkmBB7h1cTAADkWH0
Thread-topic: [Xen-devel] [libvirt] Using libvirt to obtain ip address of virtual domain
User-agent: Microsoft-Entourage/12.23.0.091001
On 17/02/2010 19:09, "ranjan188" <ran_foru@xxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>