[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Can PV Guest use xenbus_printf to write information to xenstore?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.