summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.18.10.1.18.10Richard W.M. Jones2012-10-3020-13123/+13994
|
* build: Source 'localenv' in top-level Makefile.Richard W.M. Jones2012-10-302-0/+37
| | | | | Also document 'local*' files. (cherry picked from commit de129a136355a92aa6a4afe47678aa13160fc806)
* tests: Allow more tests to be skipped.Richard W.M. Jones2012-10-303-0/+18
| | | | | | | Specifically tests which involve btrfs, because btrfs is currently broken upstream (RHBZ#863978). (cherry picked from commit f5194e6b0a470d6fe05eaa39b57eb9d0770bbe38)
* guestfs-testing: Use L<> around links.Richard W.M. Jones2012-10-301-2/+2
| | | | (cherry picked from commit dd09744432468c416033ca84dc0ae1a438240de0)
* docs: Review and clarify ERROR HANDLING section of guestfs(3).Richard W.M. Jones2012-10-301-12/+29
| | | | | Cherry picked from commit 3c1d85ae95452cee30029c719aa2523fdb5384c7. Modified to remove references to libguestfs 1.20.
* gitignore: Ignore config.cache file.Richard W.M. Jones2012-10-301-0/+1
| | | | (cherry picked from commit 835ae2c43ca70a90e33262bb71da1883ab6a4473)
* daemon: Mark some functions as attribute((noreturn)).Richard W.M. Jones2012-10-301-2/+2
| | | | (cherry picked from commit 5c8f073786285303f3bda1c30bd0b1953e0667a7)
* resize: Depend explicitly on Unix module.Richard W.M. Jones2012-10-301-1/+1
| | | | | | | | | | Commit a0722c7ad846960be54978a31ebe73b76e119203 introduced a dependency on the Unix module. This was not listed in the list of '-package's, but as long as you had ocaml-gettext installed it would still work because that pulled in Unix implicitly. Thanks Olaf Hering. (cherry picked from commit a66fd2fac25d5520b4eb2935dea6a501daed946a)
* valgrind: Add suppression for memory leak in libdl:_dl_init function.Richard W.M. Jones2012-10-301-0/+8
| | | | (cherry picked from commit 2dab72794eef55f941cc61f1f34baa9fc7988298)
* configure: Add db5.1_dump, db5.1_load for Debian Wheezy.Richard W.M. Jones2012-10-301-2/+2
| | | | (cherry picked from commit 67e483689c086e22e9a3e038ea4e7285d9a0c4d2)
* ocaml: Get rid of CAMLprim.Richard W.M. Jones2012-10-302-16/+16
| | | | | | It's wrong to use it, and in any case it doesn't do anything on Linux. (cherry picked from commit 3d46f7dc038f87e00a27e9f294d4115436f1ff23)
* resize, sparsify: Suppress progress bar when output is not a tty.Richard W.M. Jones2012-10-301-21/+27
| | | | (cherry picked from commit a0722c7ad846960be54978a31ebe73b76e119203)
* sparsify: Fix dependencies so they include resize/progress.*Richard W.M. Jones2012-10-301-1/+1
| | | | | This fixes commit 91b2238fc8e462c02f697f0c053043a55f43c13d. (cherry picked from commit c9acb029edf7c20ca937a1f6051b5834cdfdddf7)
* valgrind: Fix FUSE memory leak suppression.Richard W.M. Jones2012-10-301-2/+10
| | | | (cherry picked from commit 626ca8e74f97a8c5fbe354211e81132976a21435)
* docs: Make 'EVENTS' into its own =head1 section.Richard W.M. Jones2012-10-301-2/+6
| | | | | | For some reason it was stuck under "CALLS WITH OPTIONAL ARGUMENTS", which made no sense. (cherry picked from commit 085bf7c97aae67e8f84fe95f97ee4bfee849d523)
* lib: Pointer arg to safe_memdup function should be const.Richard W.M. Jones2012-10-303-3/+3
| | | | (cherry picked from commit 64e8e0011c6e961bae010b6008d07f501d53f35d)
* configure: Fix capitalization in configure script.Richard W.M. Jones2012-10-302-32/+32
| | | | | | | Just make the output of ./configure --help and the <config.h> file consistent. (cherry picked from commit bdfe2216715ff15691ab719ee0e63ccc2e84526c)
* configure: Fix C++ compiler test so it doesn't print random junk.Richard W.M. Jones2012-10-301-1/+4
| | | | (cherry picked from commit 467fb589b969b2d5a6fbb72c327c6c57cb65fcc3)
* daemon: Call udev-settle at the start of the daemon.Richard W.M. Jones2012-10-301-0/+11
| | | | (cherry picked from commit 15b9ed3ed2078c034f25bf3ba31298dd89c6cddf)
* fish: progress bar: Send interactive progress bar output to /dev/tty ↵Richard W.M. Jones2012-10-301-18/+36
| | | | | | (RHBZ#859875). (cherry picked from commit 911a16a9fa965ce8defb3307f6bf338f5d2d5c94)
* sparsify: Re-use progress bar wrapper code from virt-resize.Richard W.M. Jones2012-10-3014-208/+23
| | | | | | | | | | | | | The code was identical -- just copied with s/resize/sparsify/. Instead of duplicating identical code, cause the Makefile.am to use the code from the ../resize/ directory. Unfortunately because there are two Utils modules (which are different), this means we had to rename those modules to Resize_utils and Sparsify_utils respectively. So this is a rather larger change than intended. However it's just code motion. (cherry picked from commit 91b2238fc8e462c02f697f0c053043a55f43c13d)
* fish: inspect: Move variable decls to top of function.Richard W.M. Jones2012-10-301-3/+6
| | | | | This is just code motion. (cherry picked from commit c34dcf184ef4eaa35634d1696e0c68d21b811170)
* launch: Add warning not to avoid calling launch twice on the same handle.Richard W.M. Jones2012-10-301-1/+6
| | | | | | | For more information on this topic, see: https://www.redhat.com/archives/libguestfs/2012-October/msg00045.html (cherry picked from commit 2e388e8a3740aa470276b78027f51304a7f0ff92)
* docs: Fully document all subdirectories of the source.Richard W.M. Jones2012-10-301-0/+17
| | | | (cherry picked from commit 0032c60336c6f819859d30ec68179373e8943ef6)
* docs: Add overview to guestfs(3)/EXTENDING LIBGUESTFS.Richard W.M. Jones2012-10-301-3/+34
| | | | (cherry picked from commit b54fa22cd0a6a091324ff1978e0de2c54a0fabde)
* build: Use 'tmp-d' as name of temporary directory instead of 'tmp'.Richard W.M. Jones2012-10-301-6/+6
| | | | | | | | When building supermin.d/daemon.img, use 'tmp-d' instead of 'tmp' as the name of the temporary directory. This is just code motion. (cherry picked from commit 92feed7d662b7d9d1f8c475cf06df203143a3a5f)
* docs: add_drive: Clean up documentation of the 'filename' parameter.Richard W.M. Jones2012-10-301-4/+5
| | | | | Cherry picked from commit 1467ea00b850bec2722671a400adb2ffda533365 and modified for stable-1.18 branch.
* FAQ: Document debug* and internal* functions in the FAQ.Richard W.M. Jones2012-10-301-0/+17
| | | | (cherry picked from commit 9bd3d5bc6d6a3be517da5faf9e7c8a84394ca0f9)
* docs: Minor cleanup of documentation for add_drive 'name' parameter.Richard W.M. Jones2012-10-301-2/+3
| | | | (cherry picked from commit 60650da1ed7b6d916ceeee0e397c7bb2fbc282e5)
* syntax: Use __PATTERNS__ instead of @PATTERNS@ in podwrapper man pages.Richard W.M. Jones2012-10-309-35/+35
| | | | | | It is slightly dangerous to use @PATTERNS@, since these might be substituted by autoconf when they appear in Makefile.am files. (cherry picked from commit 4a4ca0c01da3307b69fc4925c5f2ece1e728d4b3)
* Version 1.18.9.1.18.9Richard W.M. Jones2012-10-0120-5544/+6367
|
* configure: Rearrange build options report in ./configure output.Richard W.M. Jones2012-10-011-11/+11
| | | | | | This had accreted over a long period of time, so it wasn't arranged very logically. (cherry picked from commit 572291c64ed79b4988de6d23c31458d7c3c71b1d)
* daemon: When sorting devices, don't fail on mix of /dev/sd and /dev/vdRichard W.M. Jones2012-10-011-0/+8
| | | | | | | | | | | | | | | (RHBZ#858128). If compare_device_names was given two devices with devices with different interfaces (eg. /dev/sda and /dev/vda) then it would try to compare the partition numbers, and fail when it could parse them. It's arguable what we should be doing in this case (except for strongly discouraging people from using the interface feature), but let's at least not cause the daemon to assert-fail. Found by Red Hat QA, thanks Mohua Li. (cherry picked from commit 6f53d49a27fbf7f1b5c22080e2509375e128d5e4)
* inspection: Fix calls to case_sensitive_path (RHBZ#858126).Richard W.M. Jones2012-10-015-34/+35
| | | | | | | | | | | | | | | | | | | | | | | Don't assume that if guestfs_case_sensitive_path returns NULL, that it means the file does not exist. The (previously undefined) behaviour of case_sensitive_path was that a NULL return meant "either the file doesn't exist or some other error". However in commit 973581780d8a006f336684fef6762801402d775d this was changed so that if the last element of the path didn't exist, it was assumed to be a new file and the (non-NULL) path of the new file is returned. This change breaks code (including in libguestfs) which tries to use case_sensitive_path as a dual-purpose call to fix-up a path for Windows and test if the file exists. Such code should be rewritten so that it explicitly tests for file existence after calling case_sensitive_path. I examined all the calls to case_sensitive_path in libguestfs and modified them where necessary. Cherry picked from commit 9ea6e9701461e594033999150f930cc4fafec4d2.
* virt-edit: If case_sensitive_path returns an error, exit.Richard W.M. Jones2012-10-011-0/+2
| | | | | | | | The 'windows_path' function was blindly copied from virt-cat. In virt-cat, errors are checked by the caller to 'windows_path'. But virt-edit lacks this check. Change the function in virt-edit to add a check and exit on error. (cherry picked from commit 55b7c4df7895b8c22d737723d857a9a63db69926)
* recipes: Add a section about diagnosing hanging guests.Richard W.M. Jones2012-10-011-0/+29
| | | | (cherry picked from commit f7e138835a7194135113088767c46df65dbf292a)
* test-tool: Add prominent warning about including complete output.Richard W.M. Jones2012-10-011-0/+11
| | | | | | | | Everyone ignores the documentation. Everyone ignores me even when I specifically tell them to include the complete output. Place a prominent notice at the beginning of the output. (cherry picked from commit 4f3048c6be0663c6c254a765ec5f83a7b40a8808)
* test-tool: guestfs_get_path might return NULL.Richard W.M. Jones2012-10-011-1/+1
| | | | | | It would almost certainly indicate a bug if it happens, but don't rely on printf not segfaulting if it did happen. (cherry picked from commit ca2e65275d797864d2a5b3b3d0e115460522e5bb)
* guestfs-testing(1): Start by running libguestfs-test-tool.Richard W.M. Jones2012-10-011-0/+14
| | | | (cherry picked from commit 9b7813c5bd91d53e358deee64ab42b00b42c37ba)
* remove the useless "h" optionWanlong Gao2012-10-014-12/+0
| | | | | | | "h" option is not enabled in virt-cat, remove it. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> (cherry picked from commit f7f746a98e8d378ac8934a7f7b82a48b3e2a5aa4)
* FAQ: Miscellaneous cleanups.Richard W.M. Jones2012-10-011-12/+68
| | | | | | | | - Use S<...> for non-breaking spaces. - Arrange the builds section better. - Add a section on enabling sVirt. - Other small fixes. (cherry picked from commit 19b29c36370beb76fd3f3a1f45289ce34c03e3c3)
* docs: Link to guestfs-recipes(1) from intro in guestfs(3).Richard W.M. Jones2012-10-011-0/+2
| | | | (cherry picked from commit d19e557df54f3822d38621b8c2da098bf44b4d53)
* generator: Tidy up comments in guestfs_protocol.x.Richard W.M. Jones2012-10-011-9/+19
| | | | (cherry picked from commit db6a8512402f068815f882928662af0d8f5eec83)
* generator: Allow an optional emacs-mode at the top of generated files.Richard W.M. Jones2012-10-011-2/+7
| | | | (cherry picked from commit a95d4261b8cedc31bfc3c5358be7b346b27d457b)
* test-launch-race: Add comment.Richard W.M. Jones2012-10-011-1/+1
| | | | (cherry picked from commit 09c372ea250e8241d62e9fde70eabe7bdca83050)
* ./run: Keep gnome-keyring from disturbing test script outputHilko Bengen2012-10-011-0/+4
| | | | (cherry picked from commit 71f87d9a8f04212fc0534b3fb423780185181585)
* rename local variable to avoid clash with match macroOlaf Hering2012-10-011-3/+3
| | | | | | | match will expand to guestfs___match, rename the local variable to avoid clash. Signed-off-by: Olaf Hering <olaf@aepfle.de> (cherry picked from commit b36b44af9e177fe5c9677d430abc7cba0633049c)
* docs: Add links to various guestfs-* man pages from guestfs(3).Richard W.M. Jones2012-10-011-0/+4
| | | | | Cherry picked from commit 64cc0dafd03bb23ef1520c8f46fd2dd44a0d8c4e. Remove ref to guestfs-release-notes(1) which doesn't exist in 1.18.
* recipes: Add section about uploading raw filesystem content.Richard W.M. Jones2012-10-011-0/+24
| | | | (cherry picked from commit 8aa8eb205b02e1014e5ed9577f4a9da9fd864aba)
* launch: Make the "launched failed" message more explanatory.Richard W.M. Jones2012-10-012-2/+19
| | | | | | | | | | Since this is the most common error seen by people who have installation problems, buggy qemu, etc, and since no one reads the FAQ, describe in this error message what resources are available to debug launch problems. Cherry picked from commit 840deea12079b05a9f588016af273843d5d6e1b8 and fixed for the stable branch.