From: Wei Liu Subject: Re: [PATCH 1/2] NetBSDRump: provide evtchn.h and privcmd.h Date: Wed, 24 Jun 2015 11:30:48 +0100 Message-ID: <20150624103048.GA9685@zion.uk.xensource.com> References: <1435140610-31823-1-git-send-email-wei.liu2@citrix.com> <1435140610-31823-2-git-send-email-wei.liu2@citrix.com> <558A84F6.70904@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z7hxF-00040B-9z for xen-devel@lists.xenproject.org; Wed, 24 Jun 2015 10:30:53 +0000 Content-Disposition: inline In-Reply-To: <558A84F6.70904@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: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Xen-devel , Wei Liu , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Wed, Jun 24, 2015 at 12:22:46PM +0200, Roger Pau Monn=E9 wrote: > El 24/06/15 a les 12.10, Wei Liu ha escrit: > > +#define IOCTL_PRIVCMD_MMAP \ > > + _IOW('P', 2, privcmd_mmap_t) > > +#define IOCTL_PRIVCMD_MMAPBATCH \ > > + _IOW('P', 3, privcmd_mmapbatch_t) > = > FWIW you could have gotten away with just implementing > IOCTL_PRIVCMD_MMAPBATCH, this is what I did on FreeBSD. > = I was too lazy to change libxc code so I implemented both in rump kernel. It's just plumbing through some minios functions. Wei. > Roger.