From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 2/4] Build XEN and HVM Dom0 kernel for L1 guest VM Date: Tue, 27 Jan 2015 11:01:09 +0000 Message-ID: <1422356469.25294.8.camel@citrix.com> References: <1418198860-29802-1-git-send-email-longtaox.pang@intel.com> <1418198860-29802-3-git-send-email-longtaox.pang@intel.com> <20141211112501.GD21659@zion.uk.xensource.com> <9E79D1C9A97CFD4097BCE431828FDD31AD6008@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9E79D1C9A97CFD4097BCE431828FDD31AD6008@SHSMSX103.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Hu, Robert" Cc: "Ian.Jackson@eu.citrix.com" , "Pang, LongtaoX" , Wei Liu , "Zheng, Di" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2015-01-27 at 08:33 +0000, Hu, Robert wrote: [...] please trim quotes. > > > > FWIW, OSSTest has a bunch of overlay files (look at overlay directory), > > which includes an init script called xenbridge. In theory if you're > > reusing this script (ts-xen-install) then you don't need to worry about > > setting up bridge? > I tried this approach, using xenbridge init scripts, it can work. > However, in original xen install, it seems not used. I don't see 'xenbridge' > in /etc/rc2.d/ xenbridge is only enabled if OldSeparateBridgeInitd is set, which it is not for a modern Xen install so I think this is a red-herring. > Shall I know the xenbr0 is created? I think not by xenbridge init service. The host networking is configured by the function nodhcp in ts-xen-install. Per our previous conversations once the L1 guest is installed you can mostly treat it as a if it were an L0 host wrt configuring it. In other words there should be no need for a separate setup_l1_bridge function, just some minor modifications to ts-xen-install. Ian.