Skip to contentSkip to conversation

reading xenstored from domU

DISCUSSION Muhammad Atif 2 participants 2 messages Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

Hi
I have a question regarding ability of a domU to read Xenstored. Is it possible for domU to read some of the values from xenstored? like its own domID? Or some other information? To be more specific can a simple user level program like get_my_domID.C do it? Or do we have to write some kernel module to do that job? With my setup of virtual machines, I am 'not at all' concerned about the security.

The question arises from the fact that (obviously it is not openly possible) that how can a domU know what dom0 is it on, especially if domU wants to broadcast its host to other domU's? I totally understand this is not supposed to be in Xen architecture, so please don't ask why I want to do this :).

I also understand this question has been asked so many times in the list, but I am not able to find any definitive answer.

Best Regards,
Atif

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

root processes can read xenstore via a kernel driver. Œxenstore-read¹ for example should work fine in a domU. So you can poke some identifier into xenstore from dom0 and read it in domU.

-- Keir

Quoted 23 lines · Muhammad Atif

Hi
I have a question regarding ability of a domU to read Xenstored. Is it possible for domU to read some of the values from xenstored? like its own domID? Or some other information? To be more specific can a simple user level program like get_my_domID.C do it? Or do we have to write some kernel module to do that job? With my setup of virtual machines, I am 'not at all' concerned about the security.

The question arises from the fact that (obviously it is not openly possible) that how can a domU know what dom0 is it on, especially if domU wants to broadcast its host to other domU's? I totally understand this is not supposed to be in Xen architecture, so please don't ask why I want to do this :).

I also understand this question has been asked so many times in the list, but I am not able to find any definitive answer.

Best Regards,
Atif

Quoted 7 lines

Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel