From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [RFC PATCH 00/11] mini-os: xenbus changes for rump kernels Date: Mon, 23 Jun 2014 11:25:51 +0100 Message-ID: References: <1403291090-8657-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wz1Ri-0005R0-Uf for xen-devel@lists.xenproject.org; Mon, 23 Jun 2014 10:25:55 +0000 Received: by mail-wi0-f170.google.com with SMTP id cc10so3990614wib.5 for ; Mon, 23 Jun 2014 03:25:52 -0700 (PDT) In-Reply-To: <1403291090-8657-1-git-send-email-ian.jackson@eu.citrix.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: Ian Jackson Cc: xen-devel , Keir Fraser , Stefano Stabellini , Ian Campbell , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On Fri, Jun 20, 2014 at 8:04 PM, Ian Jackson wrote: > I have been working on a facility for the NetBSD-based rump kernels to > allow programs to make xenstore queries using libxenstore. IMO the > best way to do this is to provide a working /dev/xen/xenbus. I have > achieved this, and will be submitting the results to the rump kernel > project. > > However, mini-os's xenbus driver was not suited to properly > multiplexing and ordering requests from multiple callers, and some of > the mini-os headers were a bit hostile towards the NetBSD kernel > environment the see when they are #included from a rump kernel device > driver component. So I had to make some changes to minios. > > The rump kernel project has its own fork of minios (although the > divergence is reasonably limited). So my changes to minios are > actually changes to rumpuser-xen's fork of minios. > > But before I ask the rump kernel developers to pull my nontrivial > changes, I felt I should give the Xen community a chance to object. > Hence this RFC series. > > The code including my complete working branch of rumpuser-xen is also > available here: > git://xenbits.xen.org/people/iwj/rumpuser-xen.git > in the commits > base.dev-xen-xenbus.v1..dev-xen-xenbus.v1 > or via gitweb: > http://xenbits.xen.org/gitweb/?p=people/iwj/rumpuser-xen.git;a=log;h=refs/tags/dev-xen-xenbus.v1 > > The changes I would like Xen community review for are these: CC'ing the minios maintainer. -G > > 01/11 mini-os: Make some headers more rumpkernel-friendly > 02/11 mini-os: Provide > 03/11 mini-os/xenbus: Add missing locks to xb_write > 04/11 mini-os/xenbus: Change type of xenbus_event_queue > 05/11 mini-os/xenbus: Use MINIOS_LIST for the list of watches > 06/11 mini-os/xenbus: Rename xenbus_events to xenbus_default_watch_queue > 07/11 mini-os/xenbus: Unify watch and reply queues > 08/11 mini-os/xenbus: Expose lower-level interface > 09/11 mini-os/xenbus: Sort out request and watch locking > 10/11 mini-os/xenbus: Provide queue->wakeup hook > 11/11 mini-os/xenbus: Provide xenbus_free > > Thanks, > Ian. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel