inspect: basic Minix support

Add a basic support for identifying Minix, extracting its version and
hostname.

Related to RHBZ#1144137.
inspect: map Hurd devices, and enable fstab introspection

Add a mapping for the Hurd device names, so it is possible to enable the
inspection of /etc/fstab.
configure: switch from "java-default-runtime" to "default"

Archlinux switched to "default" as directory for the default JDK
version.
v2v: docs: Change examples so -i input comes before -o options.

Make the input/output ordering of command line arguments clearer by
changing:

 virt-v2v -i disk -o local -os /var/tmp disk.img

to:

 virt-v2v -i disk disk.img -o local -os /var/tmp
v2v: Add -o qemu output mode and --qemu-boot flag.

This lets you write a shell script that runs the guest under qemu.
Specifying the --qemu-boot flag also boots the guest after conversion.
v2v: Disable valgrind tests that are confused by -o rhev forking.

This updates commit 0dfa96c043cee4ce82c0a45c3ad09b0a61798b79.
valgrind: Add suppression for another libvirt/selinux leak.
v2v: -o rhev/vdsm: Remove the test that the storage domain is writable.

For '-o rhev' this is likely to fail (although for obscure reasons it
*doesn't* fail on a real RHEV server, I don't quite understand why).
The reason is because virt-v2v may be running as root, and with root
squashing we don't have permissions to write into the storage domain
directory.

For '-o vdsm', VDSM is supposed to make sure we are running as the
correct user, so there's no reason to doubt things will work.
v2v: -o rhev: Use a random name when testing UID:GID mapping.

Using a fixed name is risky if there are multiple parallel virt-v2v
processes running.
v2v: -o rhev: On failure path, use forking wrapper to clean up images dir.

Otherwise you get lots of errors like:

rm: cannot remove ‘/var/tmp/mm/42f5e571-21af-44bd-8164-3ebe6bbc9f5a/images/7b28b0e6-79ce-4d78-a6cb-769760a3d373/31e2b06b-85cb-46ed-aac3-8bcef93dc704.meta’: Permission denied
rm: cannot remove ‘/var/tmp/mm/42f5e571-21af-44bd-8164-3ebe6bbc9f5a/images/7b28b0e6-79ce-4d78-a6cb-769760a3d373/31e2b06b-85cb-46ed-aac3-8bcef93dc704’: Permission denied

because the code is running as root.
v2v: -o rhev: chmod the image so we will definitely be able to write to it.

NFS sucks.
syntax-check: fix prohibit_assert_without_use check

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
syntax-check: fix prohibit_c_ctype_without_use check

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
syntax-check: fix prohibit_dirent_without_use check

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
syntax-check: fix prohibit_getopt_without_use check

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Version 1.27.53.
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.