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] Is driver domain a dom0 or domU

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] Is driver domain a dom0 or domU
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Thu, 17 May 2007 16:40:28 +0530
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 May 2007 04:08:47 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LV/P4/KkDN44TNqIGfbGs3McvckdKEGWD10XwKezr4TyvJFFwfS4z90ns0OWTjfAY03OIAjBYdpyUMCQOvr5Q22Ozmw9gm3LNsTgjcvduD4epzfryBnvJ+c07P4u/ZDJeJ3OYD00EvTj2c0FXPmEXkilchXzvka/6ddLEhGMilE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L1ld+gcdpRYmoYSpzHGwePwpjIz33IS9R76c570W/o80JSz3EDZfvQuxfFxNIaVu8NmiickF25yYC48QApde1zHqiTFuUPTBXRkZQ/7/8wqoBce+1UJItN33i8IAD3V2z09vU4wxzkv7/h0WmsVt/pCD0tW3sD1VJLppoA8KRpw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1D2E@xxxxxxxxxxxxxxxxx>
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: <6bc632150705170228n10511dfap35117f4056aa31cf@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1D2E@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/17/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:


> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> pradeep singh rautela
> Sent: 17 May 2007 10:29
> To: xen-devel
> Subject: [Xen-devel] Is driver domain a dom0 or domU
>
> The wiki link at
> http://wiki.xensource.com/xenwiki/DriverDomain?highlight=%28dr
> iver%29%7C%28domain%29
>
> says it is domU.
> I don't think so.
> driver domain is a priviliged dom0 domain with backend driver along
> with the actual hardware driver part for the device it serves.

A driver domain is ANY domain that has (direct) access to hardware. In
the common case, only Dom0 is a driver domain, but if you assign a PCI
device to another domain, that becomes a driver domain.

Only Dom0 [1] is PRIVILEGED, in the sense that only Dom0 can create,
destroy and otherwise manage other domains. DomU is any domain that
isn't Dom0.

[1] In the current implementation of Xen. There is no technical reason
why more domains couldn't be privileged. Just like you can have multiple
users in a Linux-system that are "root" users (just that there can
obviously only be one that is CALLED root, but you can have any number
of different users that have root privilege). In Xen, there is a macro
called "IS_PRIV" (from memory). It checks a variable within the domain
structure that says whether the domain is privileged or not. Currently,
this variable is only set in one place, and that is during Dom0
creation. But with a suitable interface to change this variable, any
other domain could technically be made into a "privileged domain" (it
still would of course not be Dom0, as there can only be ONE Dom0 - that
is the domain with ID number zero!).
That was really some good info Mats.
Thanks a lot

--psr

--
Mats
>
> Is my understanding correct?
>
> Thank you
> --psr
>
> --
> ---
> pradeep singh rautela
>
> "Genius is 1% inspiration, and 99% perspiration" - not me :)
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
>





--
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)

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

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