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

xen-devel

[Top] [All Lists]

[Xen-devel] Using xen-netfront in dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Using xen-netfront in dom0
From: Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Date: 2010年4月19日 10:26:24 +0200
Cc: qubes-devel@xxxxxxxxxxxxxxxx
Delivery-date: 2010年4月19日 01:27:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007年11月01日)
Hello,
In xen-netfront.c, there is an explicit check if we are running in dom0, and
if so, skip initialization:
http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=blob;f=drivers/net/xen-netfront.c;h=ee7465a7a2a9fa563f44a470bdad1911e175d1ad;hb=xen/stable-2.6.32.x#l1807
But if using a driver domain (with a NIC assigned), then definitely there is 
a need to run xen-netfront in dom0. In fact, commenting out the 
xen_initial_domain() check makes it work fine with a driver domain.
Is there any reason for this check, besides obviously false assumption
"nobody needs it in dom0" ? On a related note, there seems to be no such
check in xen-blkfront.c.
If there are no disadvantages, I would vote for removal of the
xen_initial_domain() check; otherwise, can we have a module parameter 
"allow_dom0" ?
Regards,
Rafal Wojtczuk
The Qubes OS Project
http://qubes-os.org
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 3/4] libxl: add version_info function , Vincent Hanquez
Next by Date: RE: [Xen-devel] Re: [Xen-users] rebased openSUSE Xen dom0 Patches , Jan Beulich
Previous by Thread: [Xen-devel] [PATCH 0/4] Add "xl info" command , Andre Przywara
Next by Thread: Re: [Xen-devel] Using xen-netfront in dom0 , Jeremy Fitzhardinge
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /