resize: Link to information about dracut-modules-growroot.

(cherry picked from commit fb282e677c015de65627790a02aceb6ed264ed80)
daemon: cap-get-file: Return empty string if no capability on file (RHBZ#989356).

Return an empty string (instead of an error) if no capabilities are
set on a file, and document that in the API.

(cherry picked from commit c663ab3bb9ab02fb3ca6209333c2d5402081c4de)
resize: Move isatty_stdout function to separate module (TTY.isatty_stdout).

It was jammed into the Progress module just for convenience.

(cherry picked from commit b56990ddf8aa4dc4db3da592783acfe055c05534)
internal: Add CLEANUP_XMLFREEURI (cleanup function for xmlURIPtr).

(cherry picked from commit 0e1ba00059b5ebbca2e137f2685b2eb65ed33b13)
fish: Don't store xmlURIPtr directly in the drive struct.

Original drv_uri fields:

      xmlURIPtr uri;        /* URI */
      char *socket;         /* ?socket parameter from URI. */
      const char *format;   /* format (NULL == autodetect) */

New drv_uri fields:

      char *path;           /* disk path */
      char *protocol;       /* protocol (eg. "nbd") */
      char **server;        /* server(s) - can be NULL */
      char *username;       /* username - can be NULL */
      const char *format;   /* format (NULL == autodetect) */
      const char *orig_uri; /* original URI (for error messages etc.) */

This is just code motion.

(cherry picked from commit a3891430bc9fe408505277701962acaa664fc96a)
fish: options: Fix optarg -> arg.

Don't read the global variable optarg.  Read arg instead.
(In all cases they are the same, so this bug made no difference).

(cherry picked from commit 671be806ae79df5d0a9e864d2f9b3461d08c7733)
fish: Split off URI handling (for -a argument) from general options parsing.

This is so we will be able to reuse the same code in the OCaml tools.

This is just code motion.

(cherry picked from commit 4d7c14fdbb372d6ad5ef729b6969078b5fdb68da)
resize: Add bindings for the guestfish -a URI parsing mini-library.

This allows -a options to be parsed from OCaml programs, reusing
the same code that is being used by C.

(cherry picked from commit 406522d1d2c9108c52f1356cbbb9bb4039d9ce84)
sysprep: Allow -a URI options to be used (RHBZ#968875).

This allows you to sysprep a remote guest by doing eg:

  virt-sysprep -a ssh://remote.example.com/disk.img

(cherry picked from commit b65c1c667b26313abf312a7ab51f8bf947243d07)
fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.

Because "sheepdog" is 8 characters, it wasn't recognized before.

(cherry picked from commit e3df223a5aed82b7e502bef327d57dd54d98587b)
fish: Add a test for -a URI options.

(cherry picked from commit 23d429ff845f29b345ff76efab669daf92b5ab42)
FAQ: Common problem with Debian is not running update-guestfs-appliance.

(cherry picked from commit 9268f1487970eb9884ba674ab75dc99f91adc0a7)
FAQ: Tips about using direct backend and fixed appliance on Fedora/RHEL.

(cherry picked from commit 0c512a52bdc2a88296d04900625822b34d567112)
resize: Mark isatty function as "noalloc".

This turns it into an ordinary C call without the unnecessary [in this
case] GC frame overhead.  See:
http://camltastic.blogspot.co.uk/2008/08/tip-calling-c-functions-directly-with.html

(cherry picked from commit 3d39549ded3e05df929547bb65ce620e6487a81b)
resize: Mark progress bar functions as "noalloc".

Avoids GC overhead and turns these into simple C calls.  See:
http://camltastic.blogspot.co.uk/2008/08/tip-calling-c-functions-directly-with.html

(cherry picked from commit 67fd809ca3ec711d80e69ab32646899e7ca047eb)
sysprep: Various code refactorings of the operations.

 - Use 'op' instead of 'xxx_op' for operation table.
 - Add a 'defaults' for the operation table and remove any default
   values.

This is just code motion and there is no functional change.

(cherry picked from commit 4cdbae926bb336c8d0dea8e7b6e0dcc3fb219c2d)
sysprep: Add "notes" field for notes on shortcomings, bugs, etc.

Instead of keeping this information as comments in the source, put it
into the virt-sysprep(1) man page.

(cherry picked from commit 93f8baeb9a07cbbf9bdaa5d10c98c1c9d6af96f7)
./run: Omit timeout -k option on RHEL 6.

If timeout doesn't have the -k option, don't use it.

(cherry picked from commit 8d68f1c5ceb5ac613393654bde58127e50c0f7bf)
launch: direct: Add drives after machine parameters.

This is just code motion.  It should affect the semantics of the code,
nor how the appliance VM is created.

(cherry picked from commit 568368cdf524d3ef96fb3905e39cc859c4bb4258)
augeas: Improve error reporting.

Display all the information from the handle about errors.

(cherry picked from commit f26a0407d2a61ed334b4a9d42b1269feb3cab76e)