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

RE: [Xen-users] Can a domU app determine its own domain ID



 

> Can an app running on a domU determine the domU's domain ID?  
>  I'm thinking of a scenario where an app might want to 
> auto-generate a unique IP address keyed off its domain ID.

Not easily, and domid's probably aren't the best thing to use for this
anyhow.

Why not just arrange to pass in some identifier on the kernel command
line? It will be available as an environment variable within startup
scripts.

We've used this technique on the demo CD, for example, to pass in IP and
port details of the VNC listner for the Xvnc server to connect back to.

Ian 

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


 


Rackspace

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