Merge pull request #38 from vineetht/master

GPL header added to blktap files.
CA-84868: Warn when closing/pausing VBD with pending failed requests

If a VBD is paused and a request has just failed, the VBD will get
paused with requests left in the failed requests queue; this is not a
bug. Since the VBD is paused failed requests won't be retried until the
VBD is resumed. However, instead of resuming the VBD, the VBD may be
closed. As there are pending requests in the failed requests queue that
aren't retried, tapdisk won't be able to close blktap since the
front-end holds it open as the failed requests haven't been
acknowledged. The front-end utterly considers the failed requests
expired, and tapdisk can close the VBD. Stalling/failing the pause
command until all failed requests have been resolved won't help
VM.migrate.
Merge pull request #40 from tmakatos/CA-84868

CA-84868: Warn when closing/pausing VBD with pending failed requests
CA-108155: Return EIO when the extent sector offset wraps around
Merge pull request #41 from tmakatos/CA-108155

CA-108155: Return EIO when the extent sector offset wraps around
CA-108155: Fixed missing definition of ULLOG_MAX in our uclibc

Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
CA-108155: fix 64-bit compilation
CP-5600: Do not use full paths for lvm executable.

Moved to /sbin in CentOS 6.4 so avoid to use full paths that does not work.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
CP-5600: Use /dev/mapper names for LVM names.

Former LVM /dev/ naming end up constructing devices in /dev/mapper while
current code put only symlinks here causing snapshot parent names to be
something useless like dm-XX which is not persistent.
The patch instead of getting the real device name try to get a compatible
name.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Merge pull request #44 from freddy77/lvm_fixes

Lvm fixes

Reviewed-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-5784: Move blktap packaging files to blktap repository

Currently packaging (Makefile, spec and other related files) are in
guest-packages.hg. Many components depends from blktap so every time
guest-packages.hg is changed this cause rebuilding blktap and every
component depending on it. Mostly of the other components have these
kind of files in the same repository.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Merge pull request #45 from freddy77/include_build

CP-5784: Move blktap packaging files to blktap repository

Reviewed-by: Thanos Makatos <thanos.makatos@citrix.com>