From: Wei Liu Subject: Re: [PATCH RFC 0/5] Split off mini-os to a separate tree Date: Tue, 27 Jan 2015 11:52:06 +0000 Message-ID: <20150127115206.GH24026@zion.uk.xensource.com> References: <1422209626-9926-1-git-send-email-wei.liu2@citrix.com> <20150125182511.GA24026@zion.uk.xensource.com> <93F1150D-07CA-4F4B-A3A5-49532FCC23FF@recoil.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <93F1150D-07CA-4F4B-A3A5-49532FCC23FF@recoil.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anil Madhavapeddy Cc: Thomas Leonard , Wei Liu , Ian Campbell , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org, pooka@iki.fi, quan.xu@intel.com, Samuel Thibault , dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org On Mon, Jan 26, 2015 at 10:57:57AM +0000, Anil Madhavapeddy wrote: > On 26 Jan 2015, at 09:53, Thomas Leonard wrote: > > > > [ Cc += Anil ] > > > > On 25 January 2015 at 18:25, Wei Liu wrote: > >> Cc Ian and Ian and some folks who might be interested in this work. > >> > >> On Sun, Jan 25, 2015 at 06:13:41PM +0000, Wei Liu wrote: > >>> There has been increasing use of mini-os in unikernel world and basically > >>> everybody has their own fork of mini-os. That way going foward is going > >>> to cause fragmentation of the community. > >>> > >>> We would like to split off mini-os tree so that everybody can upstream their > >>> changes and work on a common code base. Later I would also like to setup > >>> a proper push gate for mini-os. > >>> > >>> Stubdom's build environment is known to be very fragile, so basically all the > >>> real work is done in top level Makefile. > >>> > >>> I use following runes to split off mini-os: > >>> > >>> git filter-branch --tag-name-filter cat \ > >>> --subdirectory-filter extras/mini-os/ -- --all > >>> > >>> # There is already a tag name 4.3.0-rc2 which points to the same commit. > >>> git tag -d xen-4.3.0-rc2 > >>> > >>> # Add xen- prefix to all tags > >>> for t in `git tag`; do git tag "xen-$t" "$t"; git tag -d "$t" ; done > >>> > >>> git gc --aggressive > >>> > >>> The tree can be found at: > >>> git://xenbits.xen.org/people/liuw/mini-os.git master > >>> > >>> Note that mini-os cannot build on its own due to the limitation of it's own > >>> build system. Splitting it off it's the first step towards fixing that problem > > > > In case it's useful: for the standalone version of Mini-OS used by > > Mirage, I had to include these directories too: > > > > 1. xen/include/public > > 2. xen/common/libfdt > > 3. xen/include/xen/libfdt > > 4. config > > > > ( https://github.com/talex5/xen/tree/minios-releases ) > > It would be useful if the work to split out MiniOS could be done in > the xen.git tree, so that it ends up building completely standalone > and there's a final changeset in xen.git. > I would rather take the other approach -- split out first than fix problems as we go. Splitting should be done sooner in the release cycle rather than later IMHO. > What's the planned release schedule for the new MiniOS? Independent > of Xen or initially coupled? > My initial thought is that we should start coupled. Releasing independently requires more man power than releasing coupled. Of course the option to release independently is always available. Wei. > -anil