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] Role of Xen/Xenolinux in New IO networking

To: "Barry Silverman" <barry@xxxxxxxxx>
Subject: Re: [Xen-devel] Role of Xen/Xenolinux in New IO networking
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 01 Apr 2004 09:23:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Apr 2004 09:25:40 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 31 Mar 2004 21:38:37 CDT." <000201c41792$70546660$6400a8c0@gandalf>
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
> I know I have asked this before, but I am having trouble understanding
> the role of each component in the new 1.3 world:
>  
> In 1.3 networking if Xen has no devices, and domain 0 owns and operates
> the NIC - does Xen have any role at all in networking for the guest
> OS's?

No -- Xen will have no direct involvement in I/O accesses, except
that:
 1. It will still own the 'emergency console' (ie. serial line) so
 that higher-level software can be debugged/post-mortemed.
 2. It may make special scheduling and CPU-allocation decisions for
 domains containign device drivers (eg. minimise wakeup latency when
 an interrupt is received).
 3. Communication between virtual device drivers and
 physical-device-driver domains will be via shared memory and event
 channels. These mechanisms need support within Xen, but they are more
 generally applicable than just device access.

> Which network device driver will a guest OS use?

Ordinary guests will still use a virtual network driver. However,
rather than talking to Xen to send/receive packets, teh driver will
have a communications channel to a device-driver domain -- this
channel comprises a shared-memory area and an event channel for async
notifications. 

This is the bit that is currently missing -- and the new world isn't
much use without it!

> Do all the vnetif rules defined in Domain 0 now get interpreted by
> Domain 0 vnet driver? Or still by Xen?

The hideous VFR rules mechanism will be going away. Instead,
firewall/switching/routing rules will be written to the guest OS that
is runnign the physical device driver. If this guest OS is Linux, for
example, then you will get access to all the usual Linux mechanisms
--- much more fully-featured and robust than what currently exists in
Xen. 

> How do the actual packets (that will be routed to a guest) flow from the
> physical NIC - (received by a domain 0 driver, routed/filtered by ???,
> passed over a evtchn to a guest driver?)

We plan that the guiest OS conatinign the real driver will have a
network interface for each guest that is connected via it. It also
obviously has an interface for each real physical NIC that it
controls. Packets can then be routed between these interfaces just
like in a normal software router. We will add whatever fast paths are
necessary to avoid packet copying.

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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