v2v: windows: Rearrange the order of virtio drivers match clause.

No functional change.
v2v: windows: Print product variant in virtio drivers warning message.

The inspection product variant field is used to determine which
drivers to install, so print it in case we couldn't find any drivers.
v2v: Put overlay on LIBGUESTFS_CACHEDIR, not /tmp (RHBZ#1146017).

Since the overlay could grow very large (because of copy-on-read) it
is not suitable for /tmp.
v2v: Disable extended debugging of hivex_open.

It's not really necessary: we have never needed this for debugging
inspection for example, and if hive open failures did occur we would
ask the user to send us the hive files.  And it causes huge amounts of
debugging messages to be printed which fills up the log.
v2v: Don't use Unix.unlink since Unix module is open in this file.

Minor code refactor.
v2v: Add --debug-overlays option.

You can use this to accelerate testing:

  $ virt-v2v --no-copy --debug-overlays [etc]
  [...]
  [  82.0] Converting Windows 7 Ultimate to run on KVM
  This guest has virtio drivers installed.
  [  86.0] Closing the overlay
  [  91.0] Creating output metadata
  Overlay saved as /var/tmp/win7-test-sda.qcow2 [--debug-overlays]
  [  91.0] Finishing off

No disk format conversion/copying is done, so it's very fast.

The overlay file is preserved and can be tested directly (it uses the
source file as backing).
v2v: windows: Sort files before uploading.

This makes it easier to compare the trace output from different runs
of virt-v2v.
fuse: test-fuse: use acl_to_any_text

Switch from acl_to_text to acl_to_any_text, so it is possible to specify
options, like forcing the numeric IDs for users/groups. This ensure the
resulting string has always numberic IDs, so the comparison can always
succeed.

Adapt the comparison string to the lack of final endline now.
v2v: Add --no-trim option, allowing fstrim to be suppressed.

Mainly useful for testing whether fstrim is responsible for various
unexplained boot failures.  We can also suggest it in the field.
v2v: Add a source 'window' display type.

This maps to SDL/GTK, ie. qemu opening a window on the desktop.
We only use it for -i disk -o qemu to help with debugging.
v2v: -o qemu: Refactor end of line handling.
v2v: -o qemu: Only add a serial console to Linux guests.

Makes no sense for Windows guests.
v2v: -o qemu: Add a display to the shell script.
Version 1.27.55.
RHEL 7: Emphasize libguestfs-winsupport package (RHBZ#627468).

This RHEL-only patch changes the error messages when the
inspection code cannot find an operating system inside the guest
image.  For a Windows guest this may happen because the user has not
installed the separate 'libguestfs-winsupport' package.  Therefore we
emphasize that the user may need to install this package.

Notes:

(1) In RHEL there are two pieces of inspection code, the old Perl code
(deprecated upstream) and the new C core inspection API.  Therefore
this patch has to touch two places with essentially the same change.

(2) This patch doesn't try to be clever and detect if it was a Windows
guest.  This should reduce the chance of failure.

Output from (Perl) virt-inspector now looks like this:

 $ virt-inspector disk.img
 No operating system could be detected inside this disk image.

 This may be because the file is not a disk image, or is not a virtual machine
 image, or because the OS type is not understood by virt-inspector.

 If you feel this is an error, please file a bug report including as much
 information about the disk image as possible.

 RHEL notice
 -------------
 libguestfs will return this error for Microsoft Windows guests if the
 separate 'libguestfs-winsupport' package is not installed. If the
 guest is running Microsoft Windows, please try again after installing
 'libguestfs-winsupport'.

Output from guestfish (ie. C core inspection API) now looks like this:

 $ guestfish -i disk.img
 guestfish: no operating system was found on this disk

 RHEL notice
 -------------
 libguestfs will return this error for Microsoft Windows guests if the
 separate 'libguestfs-winsupport' package is not installed. If the
 guest is running Microsoft Windows, please try again after installing
 'libguestfs-winsupport'.
RHEL 7: Remove libguestfs live (RHBZ#798980).

This isn't supported in RHEL 7.
RHEL 7: Remove 9p APIs from RHEL (RHBZ#921710).
RHEL 7: Disable unsupported remote drive protocols (RHBZ#962113).

This disables support for unsupported remote drive protocols:

 * ftp
 * ftps
 * http
 * https
 * tftp
 * gluster
 * iscsi
 * rbd
 * sheepdog
 * ssh

Note 'nbd' is not disabled, and of course 'file' works.

We hope to gradually add some of these back over the lifetime of RHEL 7.
RHEL 7: Remove User-Mode Linux (RHBZ#1144197).

This isn't supported in RHEL 7.