WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] blktap2: portability fixes

To: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] blktap2: portability fixes
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 17:25:19 +0100
Cc:
Delivery-date: Tue, 23 Jun 2009 09:25:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200906231429.19967.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnz/mHlGepHwPLtSGmLzYIpTW050wAINDnz
Thread-topic: [Xen-devel] [PATCH] blktap2: portability fixes
User-agent: Microsoft-Entourage/12.19.0.090515
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" <Christoph.Egger@xxxxxxx> 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 <Christoph.Egger@xxxxxxx>
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>