From: "Carlos-Rene Perez" Subject: current_domain_id() from domU Date: Fri, 27 Jul 2007 15:15:17 -0400 Message-ID: Reply-To: carlos@perez.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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... --=20 Thanks, C. Ren=E9