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-api

RE: [Xen-API] RE: [Xen-devel] [PATCH] xapi toolstack (xen-api-libs): fix

To: 'Anil Madhavapeddy' <anil@xxxxxxxxxx>
Subject: RE: [Xen-API] RE: [Xen-devel] [PATCH] xapi toolstack (xen-api-libs): fix compile errors
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Wed, 11 Nov 2009 21:59:59 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: Thomas Gazagnaire <Thomas.Gazagnaire@xxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 Nov 2009 14:00:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A985E014-196B-4359-A24B-C3AD53AD5ED0@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <20091106135109.yns1w2khdwkk800g@xxxxxxxxxxxxxxxxxxxx> <DECC4DEE86A8074C9ABE8DFD330CB6E341A191D9A1@xxxxxxxxxxxxxxxxxxxxxxxxx> <20091106173351.bhcovy5gcg04s4gk@xxxxxxxxxxxxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD2143B74F14C4@xxxxxxxxxxxxxxxxxxxxxxxxx> <7BE34A34-1BD1-4DCC-854F-ECC3D157CC87@xxxxxxxxxx> <81A73678E76EA642801C8F2E4823AD2143B74F14C7@xxxxxxxxxxxxxxxxxxxxxxxxx> <A985E014-196B-4359-A24B-C3AD53AD5ED0@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpfErM6C3G4IvQOT9+T5kcRx+EvrwEBcwvw
Thread-topic: [Xen-API] RE: [Xen-devel] [PATCH] xapi toolstack (xen-api-libs): fix compile errors
> Here's the raw patch which just adds the autoconf infrastructure.  
> I stripped out the fakeserver stuff as it isnt ready yet.  If someone 
> else could add in the needed checks for xen-unstable that would be great.

Thanks.

I added some stuff to configure.ac to detect xen/xen.h, XS_RESTRICT and also 
libdevicemapper and the linux cdrom ioctls for good measure. It now #defines 
XS_RESTRICT if necessary and then conditionally compiles only the libs whose 
dependencies are met. Hopefully it won't get any more complicated :-) [famous 
last words?]

There are still a number of things which prevent xen-api.hg from compiling and 
working against xen-unstable.hg. These are at least:
1. libxenguest changes: I think we probably should move this stuff into 
xen-api-libs.hg and fix it up there
2. misc xenstore protocol changes (eg block shutdown-request/shutdown-done): 
this is a bit trickier and will need more thought

Cheers,
Dave


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api