From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH] xen: do not disable netfront in dom0 Date: Mon, 21 May 2012 10:18:38 -0400 Message-ID: <20120521141838.GK8119@phenom.dumpdata.com> References: <20120520115421.66AD995D@duch.mimuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120520115421.66AD995D@duch.mimuw.edu.pl> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Marek Marczykowski Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Sun, May 20, 2012 at 01:45:10PM +0200, Marek Marczykowski wrote: > Netfront driver can be also useful in dom0, eg when all NICs are assigned to > some domU (aka driver domain). Then using netback in domU and netfront in dom0 > is the only way to get network access in dom0. > > Signed-off-by: Marek Marczykowski Pls CC the network maintainer (and its list) and LKML. Acked-by: Konrad Rzeszutek Wilk > --- > drivers/net/xen-netfront.c | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c > index 698b905..e5a161a 100644 > --- a/drivers/net/xen-netfront.c > +++ b/drivers/net/xen-netfront.c > @@ -1953,9 +1953,6 @@ static int __init netif_init(void) > if (!xen_domain()) > return -ENODEV; > > - if (xen_initial_domain()) > - return 0; > - > printk(KERN_INFO "Initialising Xen virtual ethernet driver.\n"); > > return xenbus_register_frontend(&netfront_driver); > -- > 1.7.4.4 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel