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] allocating virtual nic to domain0

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] allocating virtual nic to domain0
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 16:32:14 +0000
Cc: Andrew Theurer <habanero@xxxxxxxxxx>, Felipe Alfaro Solana <lkml@xxxxxxx>, bjoern.sessler@xxxxxx
Delivery-date: Thu, 20 Jan 2005 16:40:58 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <41EFDC20.90402@xxxxxxxxxx>
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>
References: <41EF7E8C.2090500@xxxxxx> <AA5D54AC-6AFB-11D9-9A48-000D9352858E@xxxxxxx> <41EFDC20.90402@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> I would like to have one device per domain: domain0 has scsi
> controller1, domin2 has network adapter 1, etc.  In order to do this,
> domain0 still needs network access.

Proper driver domains stuff.  It'd certainly be a neat feature to have 
working.  The current code is almost but not quite there :-(

1) AFAIK netfront currently looks for interfaces once, at init time (and it 
doesn't do this at all if it's dom0).  Some code for dynamically reprobing 
for interfaces seems to be available but not enabled.  Netfront would need to 
be changed to support dynamically adding interfaces and to still listen for 
interfaces being added, even if in dom0.
2) The control tools don't allow you to add a frontend interface to domain 0 
(in fact, I don't know if they allow you to dynamically add net interfaces at 
all).  Xend / xm would need tweaking so you could say "and now create another 
interface for this domain".  This would send the appropriate messages to 
netback and the modified netfront to allow the interface to be connected.  
This could benefit domU domains too.

HTH,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel