[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 00/17] blktap2 related bugfix patches

On Tue, 21 Oct 2014, George Dunlap wrote:

On Tue, Oct 21, 2014 at 3:56 AM, Wen Congyang <wency@xxxxxxxxxxxxxx> wrote:

Congyang, were you aware that XenServer has a fork of blktap is
actually still under active development and maintainership outside of
the main Xen tree?


Both CentOS and Fedora are actually using snapshots of the "blktap2"
branch in that tree for their Xen RPMs.  (I'm sure CentOS is, I
believe Fedora is.)  It's not unlikely that the bugs you're fixing
here have already been fixed in the XenServer fork.

How to build upstream xen with this blktap2? Copy the codes to overwrite
blktap2 in xen.git?

Well what CentOS does at the moment is rm -rf tools/blktap2, then copy
the above repo into tools/blktap2.  It requires a couple of patches to
make things build / work (attached).

CentOS is using a snapshot from 2012 -- I haven't tried a more recent
version; but I *think* Fedora may be using a more recent one.  I think
Bob Ball might know more about the best way to link in this branch.

Those patches need a slight modification if you are building against (what I think is) the latest release at
because in the libxl patch they have added an extra field (timeout) to the tap_ctl_create function. You also lose a few qcow utilities when compared to the blktap2 in the xen source.

        Michael Young

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.