From: Mark Williamson Subject: Re: allocating virtual nic to domain0 Date: Thu, 20 Jan 2005 16:32:14 +0000 Message-ID: <200501201632.14707.maw48@cl.cam.ac.uk> References: <41EF7E8C.2090500@web.de> <41EFDC20.90402@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41EFDC20.90402@us.ibm.com> Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Andrew Theurer , Felipe Alfaro Solana , bjoern.sessler@web.de List-Id: xen-devel@lists.xenproject.org > 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