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] Can PV Guest use xenbus_printf to write information to x

To: jian zhang <cheechuang@xxxxxxxxx>
Subject: Re: [Xen-devel] Can PV Guest use xenbus_printf to write information to xenstore?
From: David Edmondson <dme@xxxxxxx>
Date: Thu, 31 Jul 2008 17:22:14 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 31 Jul 2008 09:22:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c77ea6600807310817x5a7b7e84wd72f236f3fd16fdb@xxxxxxxxxxxxxx>
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>
References: <c77ea6600807310817x5a7b7e84wd72f236f3fd16fdb@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Thu, Jul 31, 2008 at 11:17:18PM +0800, jian zhang wrote:
> As I want to know the information of the VMs that currently runing on the
> same physical machine, I'd like to get those VM's information from xenstore,
> such as macaddress. Indeed, what I want is IP address, so, if guest can
> write things to xenstore, I'd like it write its IP address into xenstore and
> let domain0 reads it directly.
> 
> So, can anybody tell me whether a PV guest can do this?

Yes, we have some code which does this.

> For a hvm guest I am sure it can not write things to xenstore as it is
> completely unware of xen's exisitence.

If your HVM guest has PV drivers, they must include some capability to
modify xenstore.

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

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