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] reading xenstored from domU

To: Muhammad Atif <m_atif_s@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] reading xenstored from domU
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 28 Mar 2008 07:22:09 +0000
Delivery-date: Fri, 28 Mar 2008 00:23:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <870601.73257.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciQpG7rrUcF+/yXEdykTwAWy6hiGQ==
Thread-topic: [Xen-devel] reading xenstored from domU
User-agent: Microsoft-Entourage/11.4.0.080122
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

On 28/3/08 06:45, "Muhammad Atif" <m_atif_s@xxxxxxxxx> 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 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



 

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>