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] current_domain_id() from domU

To: carlos@xxxxxxxxx,xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] current_domain_id() from domU
From: Mats Petersson <mats@xxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 20:21:39 +0100
Delivery-date: Mon, 30 Jul 2007 09:55:53 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding:sender:message-id; b=uNiDRCg5D8dMTZEf5+xYggEOfIpjuOO/hTFpOYPmjaW56sDgjSMprxb+S+Z22Ctjmn3fFxV2M3Bvwa0J1mCNL2tv2h18j4zUuMHjZkS6uA2Hh8fHN8i31tO1Ff0TKCmCttXU7sj5g6QtZP057U1ztr09h68+3eSO+pJ+Hz5kjYk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding:sender:message-id; b=HTr0NRcbtTcDcueTjp2mq2xyM0xpH30x0RuEMurz5RrpIrCPni2lfEt1QpV65rKYX4CaCMtGZEFdjyQP2hvIfjWJg11EyTQvL9qDsF/ZHgu54VKKglH/3IjI3o/0Wq7k6xOuo7KJL04AesG8PRD75fUWP+YsYZ6531uo3//fcnM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b1d0d6970707271215m22ddfea6h3ff04df8bc0831c2@xxxxxxxxxxxxx m>
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>
References: <b1d0d6970707271215m22ddfea6h3ff04df8bc0831c2@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
At 20:15 27/07/2007, Carlos-Rene Perez wrote:
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...


And you think this is useful for what purpose?

What are you planning to do when/if the domain is saved+restored or migrated (it's getting a new ID when it's restored after either save or migrate)?

--
Mats

--
Thanks,
C. René

_______________________________________________
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>