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

[Xen-devel] current_domain_id() from domU


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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