[Pkg-xen-devel] XCP and OpenXenCenter

Mike McClurg mike.mcclurg at gmail.com
Tue Jul 5 16:24:17 UTC 2011


On Tue, Jul 5, 2011 at 9:53 AM, Ritesh Raj Sarraf <rrs at debian.org> wrote:
> Hello Mike,
>
> On 07/01/2011 07:05 PM, Mike McClurg wrote:
>> Hi Ritesh,
>>
>> I'm one of the developers working on the Debian port of XenAPI. We've
>> made some good progress and have a working prototype of the software,
>> and we are preparing to start packaging. As Pasi said, this has been a
>> purpose-built appliance and not a standalone application, so it's
>> taking some time to refactor our software to comply with Debian
>> packaging rules.
>>
>
> Yes, I noticed that at: http://wiki.xensource.com/xenwiki/XCP_Roadmap
>
> By that roadmap, you should be almost done. So, your port of XenAPI will
> work with the Debian shipped Xen Kernel ?
>

Yes, it will work on the 3.0 kernel in experimental. It also works on
the Xen hypervisor in Sid, with some small modifications. Currently,
the package libxen-dev does not install any of the OCaml libraries
from the xen/tools/ocaml/libs source tree. The XenAPI is an OCaml
application and needs those libraries in order to compile. We also
need to include a few patches from upstream Xen; two of which allow
Xen to be compiled under the latest gcc 4.6 in Sid, and the other
fixes a problem that was preventing our toolstack from starting HVM
guests.

>
>> In addition to new packages that we'll be making, we will need the
>> OCaml libraries from the Xen distribution built as a product of the
>> Xen source Debian package. We have a prototype of this, but we're not
>> expert Debian packages. If anyone feels like giving us a hand with
>> this, we'd really appreciate it. If you'd like, we can submit our
>> current patches to this list for review, though they're unacceptable
>> at the moment. Thanks for the interest in XenAPI,
>
> I can volunteer here. I might not be very quick with responses but I
> definitely have interest in Xen.
>
> I looked at the site but couldn't find the debian packaging work
> anywhere. Can you share it?
>

Yes, I can. I'm not familiar with the patch submission policy of this
list, so I hope it's okay that I've just attached all of the
aforementioned patches to this email. The patches are as follows.

- install-ocaml-libraries.patch

This must be applied directly to the xen-4.1.0/debian directory. It
modifies rules.real and libxen-dev.install such that the xen ocaml
libraries are built and installed.

- cset-23341-gcc-46.diff
- no-unused-but-set-variable.patch

These patches should be included in the xen-4.1.0/debian/patches
directory (and included in the series file). They allow xen to be
built on the latest gcc 4.6 in Sid.

- tools-libxc-fix-cpu-online.diff

This is a backport from Xen 4.1.1 which allows libxc (and our
toolstack) to start HVM guests. It must be included in the
xen-4.1.0/debian/patches directory (and included in the series file).

If you would like to follow along with our porting to Debian work, you
should take a look at our github repos. Jonathan Ludlam and I have
been working together on porting our libraries over to Debian, and
these should be good branches to checkout (his is probably more
complete than mine, so start there).

https://github.com/jonludlam/xen-api-libs/tree/debian
https://github.com/mcclurmc/xen-api-libs/tree/kronos-kitchen-sink

Thanks to everyone who is interested in this project and has offered
to help. Feel free to email me with any questions, or drop by #xen-api
on freenode to ask questions.

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cset-23341-gcc-46.diff
Type: text/x-patch
Size: 11267 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110705/5ed94312/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-unused-but-set-variable.patch
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110705/5ed94312/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tools-libxc-fix-cpu-online.diff
Type: text/x-patch
Size: 1100 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110705/5ed94312/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-ocaml-libraries.patch
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110705/5ed94312/attachment-0003.bin>


More information about the Pkg-xen-devel mailing list