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] Using xen-netfront in dom0

To: Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Using xen-netfront in dom0
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 19 Apr 2010 10:15:21 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, qubes-devel@xxxxxxxxxxxxxxxx
Delivery-date: Mon, 19 Apr 2010 10:15:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100419082624.GC18572@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>
References: <20100419082624.GC18572@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 04/19/2010 01:26 AM, Rafal Wojtczuk wrote:
> 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" ?
>   

No, I think its probably fine to remove the check.  Presumably if the
driver is modular it would never get loaded in a normal dom0 case
anyway?  And in the non-modular case, an initialized but unused driver
shouldn't take much memory (and if it does, that should be fixed).

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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