configure: Make sure grep matches qemu 2.x version string.

(cherry picked from commit 101d728e80cce73b882aac7af457013491d03311)
tar-in: Fix places where we didn't cancel the receive (FileIn) correctly along error paths (RHBZ#1091803).

Thanks: Bo Fan.
(cherry picked from commit efd159a063410b3d9d13814222abed231ec42f90)
builder: Fix parallel builds of index-parse.o.

When parallel builds are enabled it was possible for index-parse.c to
be compiled before the file had been completely written by bison.  The
usual symptom was that the 'do_parse' symbol was missing -- this
simply happened because that symbol is defined at the end of this
file, and the compiler compiled the file before the end part was
written out.  But you could also see other strange & random compile
failures as you would expect.

This was tested by running this script on an 8 core server:

 cd builder/
 export MAKEFLAGS=-j9
 while make clean >/dev/null; make all V=1 >& /tmp/log; do echo -n . ; done

Previously it would fail after <= 5 iterations.  With this change it
runs for at least 100 iterations.

(cherry picked from commit df5bd5741b37da9cf97d7a76ac2805557aa630db)
builder: Add RHEL 7RC disk image.

(cherry picked from commit fea553778a1f38b8c0dc3bf76a67725f0cee9094)
daemon: xattr: factorize do_getxattr and do_lgetxattr

Move all the common code to a new _getxattr function, much like done for
other xattrs operations.

Mostly code motion, no functional changes.

(cherry picked from commit 1550a80d6c639cb1bd2a29bba8203a2b8cbb80ae)
launch: direct: Supply -M option when testing qemu for devices.

qemu-system-arm 2.0 as currently available through Debian/unstable
doesn't want to tell us anything about available devices unless we
specify a machine type.

(cherry picked from commit c4a91a1866ddba3a52a2b9f2be7d66f519d958ba)
builder: Add RHEL 7 signature to EXTRA_DIST.

This fixes commit fea553778a1f38b8c0dc3bf76a67725f0cee9094.

(cherry picked from commit c2488b6ed832ce6899ed083530f4cfc68d5f2e97)
guestfs-recipes: Fix language.

(cherry picked from commit 4dc42693f23bd38393de001e8c45f22aac9e8292)
lib: xmlParse{File,Memory} -> xmlRead{File,Memory}

Switch from xmlParse* to xmlRead* so we can explicitly specify parsing
flags, including no network usage and no entity resolution.
The two behaviours mentioned above were not done before either, so this
should not introduce behaviour changes in libguestfs.

(cherry picked from commit 845daded5fddc70fc5e822769bc1e2a8cbead7ca)
customize: random-seed file has moved again.

Thanks, systemd.

(cherry picked from commit 2bd75a1ea1e606780915eeba5048f4bf8af84de9)
sparsify: Add a note about qcow2 internal snapshots not being copied (RHBZ#1094746).

(cherry picked from commit c67e16734ce41b1ec8ec146531bcec20573fec7f)
Version 1.26.2.