From: "Hayawardh V" Subject: Fwd: Enabling domU to create other domUs Date: Thu, 4 Sep 2008 11:16:58 -0400 Message-ID: <68f1f87c0809040816n3e9964d5g1ffeed678cd803c3@mail.gmail.com> References: <68f1f87c0807071014y69c3d573y2ef0d6c487371710@mail.gmail.com> <617dbaa80807080925l85f43bfje39e15bb22954b70@mail.gmail.com> <68f1f87c0807081945m72a886abn4fd5020cb4a57f2a@mail.gmail.com> <18548.45358.334113.690163@mariner.uk.xensource.com> <68f1f87c0807100546j3c58ddbu11981de25f7c7d49@mail.gmail.com> <68f1f87c0809040816g3b838f1ap9534607f559ca208@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1534152245==" Return-path: In-Reply-To: <68f1f87c0809040816g3b838f1ap9534607f559ca208@mail.gmail.com> 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 --===============1534152245== Content-Type: multipart/alternative; boundary="----=_Part_27058_20234068.1220541418620" ------=_Part_27058_20234068.1220541418620 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I see that Xen roadmap has the following: More interestingly, it would be useful to be able to delegate privilege such as to be able to grant a domain permission to perform a certain privileged operation on some specified other domain or group of domains. This leads naturally to a hierarchical model of domain resource allocation and permission, for example allowing a domain with only a very restricted privilege capability to create a new domain by carving it out of its own resource allocation. It would then have full control over this domain, allowing it to destroy it, pause it, map its pages, attach a debugger etc. >*From Xen's low-level `datapath' point of view we want to flatten this* hierarchy to keep the privilege check operations as simple as possible, with only the control operations having to worry about the extra complexity. Citing the example in the previous paragraph of having one domain build another, this should be quite achievable as some care is already taken to have the domain builder use standard unprivileged interfaces. http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00374.html I am wondering if there is any real use for a hierarchy in the real world? Has there been any discussion on this before? Thanks, Hayawardh ------=_Part_27058_20234068.1220541418620 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I see that Xen roadmap has the following:

More interestingly, it would be useful to be able to delegate
privilege such as to be able to grant a domain permission to perform a
certain privileged operation on some specified other domain or group
of domains. This leads naturally to a hierarchical model of
domain resource allocation and permission, for example allowing a
domain with only a very restricted privilege capability to create a
new domain by carving it out of its own resource allocation. It would
then have full control over this domain, allowing it to destroy it,
pause it, map its pages, attach a debugger etc.

>From Xen's low-level `datapath' point of view we want to flatten this
hierarchy to keep the privilege check operations as simple as
possible, with only the control operations having to worry about the
extra complexity. Citing the example in the previous paragraph of
having one domain build another, this should be quite achievable as
some care is already taken to have the domain builder use standard
unprivileged interfaces.
http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00374.html

I am wondering if there is any real use for a hierarchy in the real world? Has there been any discussion on this before?

Thanks,
Hayawardh

------=_Part_27058_20234068.1220541418620-- --===============1534152245== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1534152245==--