From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] blktap2: portability fixes Date: Tue, 23 Jun 2009 17:25:19 +0100 Message-ID: References: <200906231429.19967.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200906231429.19967.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This didn't have a prayer of building on Linux. I fixed it up for Linux and applied as c/s 19817. It's probably broken for netbsd now, but you should be able to provide a small fixup patch for that. -- Keir On 23/06/2009 13:29, "Christoph Egger" wrote: > > Hi! > > Attached patch makes blktap2 build on NetBSD. > > - Use standard off_t and lseek() instead of non-portable off64_t and lseek64() > - Use uuid API as documented in DCE 1.1 RPC specification > - Add NetBSD implementation for blk_getimagesize() and blk_getsectorsize() > - Use blk_getimagesize() and blk_getsectorsize() > - Fix uuid header check > > Signed-off-by: Christoph Egger >