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

[Xen-devel] current_domain_id() from domU

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] current_domain_id() from domU
From: "Carlos-Rene Perez" <carlosrene@xxxxxxxxx>
Date: Fri, 27 Jul 2007 15:15:17 -0400
Delivery-date: Fri, 27 Jul 2007 12:12:51 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ioiiWak7bPSDff43jmlQJrIJvBztjHapsQWhRDYz9T2HZylHztR2N/o4whGJ7xgNsW8PjrjQ1AqOpF30ZQXBq6PPlXC2xaBklYVARYLQXhV7DQ4eKijc8XfajJ4ct6MIPxOaeoatoSgchWMrBEXRUduwAvOl/uKvYFmfanHPXys=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OnbPPKZP/SioZgKSYyAJta2whP9C/oFp3dJwohiwSAKqrIU3pnHAGbDsMjObdshYH8WHb0JANaWgTli5H2CfxXqnQseCBZ0IZ0sQrsI4xs4RxxNEiLOe+Ezkbd48QLB7aCyZWe8Ka+kuusE54VHnZOg13/WISLo31R4mKmRBlrI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Reply-to: carlos@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Question: Is there a way to get the current domain id from a domU in
kernel-space?

Background: I know there is current_domain_id() on the hypervisor, I
know most code uses DOMID_SELF when passing a domid to hypercalls, but
this acts like a flag and doesn't really give it the domid, unless u
reach the hypervisor, which can then call current_domain_id()...
etc...

-- 
Thanks,
C. René

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

<Prev in Thread] Current Thread [Next in Thread>