From: Keir Fraser Subject: Re: reading xenstored from domU Date: Fri, 28 Mar 2008 07:22:09 +0000 Message-ID: References: <870601.73257.qm@web52112.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1156864742==" Return-path: In-Reply-To: <870601.73257.qm@web52112.mail.re2.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muhammad Atif , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1156864742== Content-type: multipart/alternative; boundary="B_3289533733_12540728" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3289533733_12540728 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable root processes can read xenstore via a kernel driver. =8Cxenstore-read=B9 for example should work fine in a domU. So you can poke some identifier into xenstore from dom0 and read it in domU. -- Keir On 28/3/08 06:45, "Muhammad Atif" wrote: > 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 l= evel > program like get_my_domID.C do it? Or do we have to write some kernel mod= ule > to do that job? With my setup of virtual machines, I am 'not at all' conc= erned > about the security. >=20 > The question arises from the fact that (obviously it is not openly possib= le) > 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 sup= posed > to be in Xen architecture, so please don't ask why I want to do this :). >=20 > I also understand this question has been asked so many times in the list,= but > I am not able to find any definitive answer. > =20 > Best Regards, > Atif >=20 >=20 >=20 > =20 >=20 > Never miss a thing. Make Yahoo your homepage. > >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --B_3289533733_12540728 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] reading xenstored from domU 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 int= o xenstore from dom0 and read it in domU.

 -- Keir

On 28/3/08 06:45, "Muhammad Atif" <m_atif_s@yahoo.com> wrot= e:

Hi
I have a question regarding ability of a domU to read Xenstored. Is it poss= ible 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 prog= ram 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 b= roadcast its host  to other domU's? I totally understand this is not su= pposed 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, b= ut I am not able to find any definitive answer.
 
Best Regards,
Atif



 

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

____________________= ___________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/x= en-devel

--B_3289533733_12540728-- --===============1156864742== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1156864742==--