From: Martin Lucina Subject: Re: [PATCH RFC 0/5] Split off mini-os to a separate tree Date: Mon, 26 Jan 2015 19:21:41 +0100 Message-ID: <20150126182141.GC5686@nodbug.moloch.sk> References: <1422209626-9926-1-git-send-email-wei.liu2@citrix.com> <20150125182511.GA24026@zion.uk.xensource.com> <20150126174211.GB5686@nodbug.moloch.sk> <98B23BAC-32C9-4DC0-B6FA-2B5DB121EC73@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: <98B23BAC-32C9-4DC0-B6FA-2B5DB121EC73@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 anil@recoil.org said: > On 26 Jan 2015, at 17:42, Martin Lucina wrote: > > > > talex5@gmail.com said: > >> 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 ) > > > > Ah, so that's where the Mirage fork of Mini-OS lives. I knew there was one, > > but not where. Any other forks please speak up :-) > > > > Which parts of Mini-OS does Mirage actually use? I know you have an OCaml > > implementation of netfront, for instance. > > Not very much of Mini-OS -- Mirage has everything from the ring protocol > up (XenStore, NetBack/Front, BlkBack/Front, Console, etc are all in OCaml). > So event channels and start of day boot, mainly. > > It is useful to have the C XenBus around for start-of-day logging though, > since the emergency console isn't much use on public cloud services. Interesting. Rump Kernels on Xen currently use the Mini-OS xenbus, {net,blk,pci}front and console, however AFAICT most (all?) of these could be provided by the NetBSD drivers instead. Such a setup also would not leave much from Mini-OS. I'm wondering if there is interest in a Nano-OS that provides just the bare minimum needed for Unikernels to run atop cloud hypervisors (hint hint)? Martin