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] architecture for backend domains

To: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Subject: Re: [Xen-devel] architecture for backend domains
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 24 Oct 2004 14:39:09 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 24 Oct 2004 14:44:31 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sat, 23 Oct 2004 12:30:22 PDT." <1b0b455704102312306f268bff@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> o it seems from the docs that its possible to assign io privileges and
> administrative privileges to *any* domain (apart from dom0, which has
> these privileges built in IIRC). is this correct?

Yes, that's correct. I'm not sure how it's currently plumbed through
in the control tools, but Xen certainly supports this.

> o can there be multiple backend domains for a single physical device
> (like a network interface)? if so, then there is a scheduling involved
> at multiple levels -- first Xen will have to schedule backends across
> the physdev, and then each backend will have to schedule across the
> domains that use it as backend. Further, what mechanism does Xen use
> to determine which backend to direct pkts to and from the backend
> which client domain to forward them to?

There is a single backend domain and driver per physical device. This
single driver supports multiple backend interfaces (usually one per
frontend). The driver itself is then responsible for scheduling and
demux. 

> o if there is just one backend, how exactly does access to the devices
> take place? From the docs, I gather that each domain using the device
> has 2 rings -- one for sends and one for receivs (very generally
> speaking). Also, the docs say that the backend can directly map
> buffers of the virtual domains in Xen to enable DMA to them. But at
> other places in the docs, I got the impression that client domains
> (and not just backends) have these descriptor rings as well. So
> basically I'm asking if all communication happens through the backend,
> or do client domains talk directly to Xen.

Virtual domains do I/O via device channels that connect them to an
appropriate backend driver. A channel connects a frontend interface to
a backend interface. The channel comprises an event channel for
notifications plus a shared-memory region that contains asynchronous
messaging rings. 

Xen knows nothing about particular I/O devices (it contains only a
serial-line driver, for debugging). Clients do not talk to Xen to get
their I/O work done --- it is *all* done via inter-domain comms.

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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