summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.8.11.1.8.11Richard W.M. Jones2011-08-0717-209/+312
|
* docs: Fix function names in deprecation notices.Richard W.M. Jones2011-08-072-4/+4
| | | | (cherry picked from commit 60adf092a8900323c048c94f3f0934be416a3eb6)
* docs: guestfs_set_out_of_memory_handler returns void, not int.Richard W.M. Jones2011-08-071-2/+2
| | | | | It always has done. The documentation was wrong. (cherry picked from commit 70f44cc0ea0bcdd025ed657461e07f6778be44ba)
* debian: bash is required to run libtool replacement script.Richard W.M. Jones2011-08-071-1/+1
| | | | | This was failing on Debian where $(SHELL) is the minimal dash shell. (cherry picked from commit 6a98ed953b1e3b0d3251385f0ca2dd1dee80b63d)
* debian: Add gawk to packagelist.Richard W.M. Jones2011-08-071-0/+1
| | | | | It's already included, but implicitly. (cherry picked from commit 5f9c168d9135fa81ee2f3a15461467fe04c26888)
* virt-tar test: Stable ordering of test output.Richard W.M. Jones2011-08-071-1/+1
| | | | | | The files could be listed in any order, resulting in the test failing for no reason. Sort the output of tar. (cherry picked from commit 995b3fecb9af7a8bd52b238bad2a631a1193c83a)
* Change link, since PostgreSQL switched to using git.Richard W.M. Jones2011-08-071-1/+1
| | | | (cherry picked from commit 3cf31c2fe0b356ea5c04117c5235b0a3cfe34971)
* Don't fail if HOSTNAME field is missing on Red Hat guests (RHBZ#726739).Richard W.M. Jones2011-08-071-3/+10
| | | | Cherry picked from commit bad3f4b54a959685f3c0697238fc5753096834fb.
* Version 1.8.10.1.8.10Richard W.M. Jones2011-07-2716-307/+307
|
* perl: Fix another place where qw() was used as parentheses.Richard W.M. Jones2011-07-271-4/+4
| | | | | | | This is a fix for Perl 5.14. See previous commit 5c3c7e8825341e18c9449976f8a321a04cc78d79. (cherry picked from commit c70532ab4b3d977ed7484e473107808b22d90a2a)
* ocaml: Fix locking in event callbacks.Richard W.M. Jones2011-07-271-4/+16
| | | | | | | | | | We weren't acquiring the GC lock around some allocations, resulting in segfaults when an event callback ran at the same time as a main thread allocation or garbage collection. In particular this fixes a noticable crash in guestfs-browser. (Cherry picked from commit 2b8b3f9794ceb43eabd3083e225c669896d8b186)
* virt-df: Re-add documentation for --csv option.Richard W.M. Jones2011-07-271-0/+6
| | | | | | The documentation for the --csv option disappeared between 1.6 and 1.8 when we rewrote virt-df in C. Re-add it from 1.6 sources. (cherry picked from commit 01f6bce19dbfaf42fa4908683f3cc8785585d023)
* test-tool: Print FEBOOTSTRAP_* environment variables (RHBZ#671082).Richard W.M. Jones2011-07-271-0/+3
| | | | (cherry picked from commit 15289d4b726d7c38702794df23c61ae40879a46c)
* perl: Fix CCFLAGS for Perl 5.14.Richard W.M. Jones2011-07-271-2/+3
| | | | | | | | | | | | | | | | | | | A change to ExtUtils::CBuilder in Perl 5.14 causes CCFLAGS to completely replace, rather than appending, the C flags. The unfortunate consequence of this is that vital flags such as -D_FILE_OFFSET_BITS=64 are missing. For 32 bit code, this means you get binary-incompatible code that completely fails to load. For further analysis see: http://www.nntp.perl.org/group/perl.perl5.porters/2011/04/msg171535.html This commit changes CCFLAGS so that it appends to the existing $Config{ccflags} instead of replacing it. On earlier versions of Perl this means we get two copies of the flags, which is unfortunate but should be safe. (cherry picked from commit 8386a57458aceb768f0e59aa090a15a544f7466e)
* build: Redirect ./configure errors in general to config.log.Richard W.M. Jones2011-07-271-6/+6
| | | | (cherry picked from commit 71eb0bf45649eefa1f0cd4b1372cfc2653c8e7a5)
* build: Send failed Perl test configure output to config.log.Richard W.M. Jones2011-07-271-1/+1
| | | | (cherry picked from commit 610642491a4846f45c7b233060ffde46f6ca09f0)
* build: Allow 'make quickcheck' test-tool args to be overridden.Richard W.M. Jones2011-07-271-1/+1
| | | | | | | | | A typical use for this is for packagers who want to increase the default timeout: make quickcheck QUICKCHECK_TEST_TOOL_ARGS="-t 300" (Cherry picked from commit 806b6e01506dea4eae68ac3e468d9398d63cafcb)
* blkid: Use -c /dev/null option to kill the cache.Richard W.M. Jones2011-07-271-9/+4
| | | | | | | On recent Debian, /etc/blkid.tab is now a symlink to /dev/.blkid.tab. Rather than chasing the cache file around (it may move to /run in future) use the -c /dev/null option to stop blkid from reading the cache. (cherry picked from commit 1d0f398d8e3c74ce6a70cbbb8d9b8ae07c6d7ef6)
* blkid: Detect when value not found and return empty string.Richard W.M. Jones2011-07-272-4/+19
| | | | | | | | | | | | | | | If the blkid command returns 2, that means the value was not found. Note that this changes the output of the vfs-type API when the filesystem has no type (eg when it is empty). Previously this would return an error. Now it returns empty string "". We did not document this either way. Making it return empty string is consistent with vfs-label and vfs-uuid. This change broke list-filesystems, since that code was assuming that vfs-type could only return a filesystem type or an error. (cherry picked from commit 168fd4ad5d1e5da93e11388095d41aaa8f804ceb)
* appliance: Capture stderr from qemu to the event system.Richard W.M. Jones2011-07-271-1/+9
| | | | (cherry picked from commit 8b2e60ce4b46e86da093ee64d4e0b0ae3c998d55)
* appliance: Document pipe fds.Richard W.M. Jones2011-07-271-0/+2
| | | | (cherry picked from commit 70daccfe4e9939078436c2830928d8e53432dd84)
* build: Fix virtio-serial test for qemu 0.15.Richard W.M. Jones2011-07-271-0/+13
| | | | | | (Cherry picked and combined commit d82438431c1551610eb7d9945fa76d6387534582 and commit 5dec7842655dd872bb0fd9fe07f6a9eab6b13bfd)
* mkfs: Don't die if mke2fs is not available.Richard W.M. Jones2011-07-271-4/+4
| | | | | Allow other types of filesystems to be created. (cherry picked from commit c6340f45007b0ab7e1c5391cf78afc10a816553f)
* part-get-bootable: Fix when partitions are missing or unordered (RHBZ#602997).Richard W.M. Jones2011-07-273-4/+102
| | | | (cherry picked from commit 511c82df46f5c6f4a7f984fdb81d4691038ed6da)
* Version 1.8.9.1.8.9Richard W.M. Jones2011-07-1617-2447/+2361
|
* Document that ntfsresize cannot be used multiple times (RHBZ#685009).Richard W.M. Jones2011-07-161-0/+9
| | | | (cherry picked from commit 2ba2ddf2113db7bb2afe3f739dc3cbaa5416a4ba)
* protocol: Force optargs_bitmask to be passed as 0 for non-opt actions.Richard W.M. Jones2011-07-161-2/+13
| | | | | | | If the action doesn't take optional arguments, nevertheless force the optargs_bitmask field in the header to be passed as 0, and give an error if not. (cherry picked from commit 0344248af55802bbbd816b349ec1ba9305996f6e)
* Add caution subdirectory containing safety and liveness tests.Richard W.M. Jones2011-07-165-1/+137
| | | | | | | Not that I'm paranoid about qemu breaking snapshots of anything like that ... Cherry picked from commit f3ada2c7653866f2529c9f18aaa99f76cd984844.
* inspector: Fix comment in virt-inspector.rng.Richard W.M. Jones2011-07-161-2/+2
| | | | | | The comment referred to the command line syntax of the old virt-inspector. (cherry picked from commit ea96c7acf7a332c08c2214796add647224a2ede0)
* Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"Richard W.M. Jones2011-07-161-1/+1
| | | | | This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656. (cherry picked from commit 123610f1b5133a9e541a245467f60d065ea96575)
* trace: Print empty list correctly.Richard W.M. Jones2011-07-161-3/+5
| | | | | | | | | Empty lists returned by RStringList and RHashtable functions were incorrectly printed as [""]. Fix this so they are printed as [] instead. Cherry picked from commit 56b94f5f6aa7981533ad867cc908c6e9cca2ba42.
* perl: Ignore MYMETA.yml.Richard W.M. Jones2011-07-161-0/+1
| | | | | This file is created by one of the build tools used by Perl 5.14. (cherry picked from commit cabfaa857fbd325bd0303fa56b28df8ce52aab33)
* perl: Don't use qw() as parentheses.Richard W.M. Jones2011-07-161-1/+1
| | | | | | | In Perl 5.14: Use of qw(...) as parentheses is deprecated at perl/blib/lib/Sys/Guestfs/Lib.pm line 1111. (cherry picked from commit 5c3c7e8825341e18c9449976f8a321a04cc78d79)
* generator: Rewrite UUIDs that begin with zero byte.Richard W.M. Jones2011-07-161-0/+8
| | | | | | | | In util-linux <= 2.19, mkswap -U cannot handle the first byte of the UUID being zero, so we artificially rewrite such UUIDs. See: http://article.gmane.org/gmane.linux.utilities.util-linux-ng/4273 (cherry picked from commit 4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8)
* Version 1.8.8.1.8.8Richard W.M. Jones2011-06-1317-4800/+4864
|
* daemon: Keep Coverity happy by ignoring some return values.Richard W.M. Jones2011-06-133-7/+17
| | | | (cherry picked from commit f5096dd546ac43c7288b3ab7aec1562f070f78f6)
* Coverity: Don't return freed pointers from command* along error path.Richard W.M. Jones2011-06-131-2/+14
| | | | | | | | | | | If the external command failed to run, we could free up the allocated *stdoutput and *stderror pointers, but then return those freed pointers to the caller. The caller usually tries to print and free *stderror, so this is a serious error. Instead, return *stdoutput as NULL, and *stderror pointing to a generic error message. (cherry picked from commit 29453a58d818df24c238d0a08a68886ebe4029dd)
* Coverity: Missing return on error path.Richard W.M. Jones2011-06-131-0/+1
| | | | (cherry picked from commit 7a091a11d7aeddc170e4d1b833fd9d7d18c00841)
* Coverity: Ensure fp is closed along all error paths.Richard W.M. Jones2011-06-131-4/+6
| | | | (cherry picked from commit 346c5b0ebf58c81f657540eeb72abaa41bfc4e3f)
* Coverity: Close directory handle along error paths.Richard W.M. Jones2011-06-131-0/+2
| | | | (cherry picked from commit 7c020a14802255c966b2b402b983551b86a08bba)
* Coverity: Don't leak argv arrays.Richard W.M. Jones2011-06-131-0/+4
| | | | (cherry picked from commit 869c11b30c72c57e48dd63c4641087a06abe80d5)
* Coverity: Don't leak error strings.Richard W.M. Jones2011-06-135-3/+14
| | | | (Cherry picked from commit 3135b8c378f9f98ae66e37fd79d305764334980d).
* Coverity: Check return value of sysroot_path.Richard W.M. Jones2011-06-131-1/+1
| | | | | For some reason we were checking the parameter! (cherry picked from commit 7fae594df719d1d81a043c4d0280b359f750facb)
* Coverity: Check return value of malloc.Richard W.M. Jones2011-06-131-0/+4
| | | | (cherry picked from commit 3a5bd5aba23583e64bfaabc906ca95b0f9d37578)
* Coverity: Don't close fd_cwd if fd_cwd == -1.Richard W.M. Jones2011-06-131-2/+5
| | | | (cherry picked from commit 76dfb74324fa0daa343d7edf89bd05e1fe7b4db0)
* Coverity: Avoid calling sort_strings (NULL, 0) on empty list.Richard W.M. Jones2011-06-131-2/+3
| | | | (cherry picked from commit 3ed8d5122026f37dd96cc7e8503c4f3ecf0afbb7)
* Coverity: Don't call free_strings (NULL).Richard W.M. Jones2011-06-131-1/+0
| | | | (cherry picked from commit 48ebf50f3136ac27f4252662e351230ffa2b15e5)
* Coverity: Remove unreachable code.Richard W.M. Jones2011-06-134-12/+0
| | | | (cherry picked from commit 9160eec4fbf12643d8d5fa13465066822b2fed92)
* init: Remove timeout in udevadm settle command.Richard W.M. Jones2011-06-131-1/+1
| | | | | | | | | | | The given timeout (10s) was too low if the appliance was running slowly, which caused a cascade of other failures during tests. Note that in udev-171 and above on Fedora, /sbin/start_udev no longer exists, so now we are using this manual method to start udevd. (cherry picked from commit bfc02f78f36d88543f8435e450e28c986b667a94)
* protocol: Enhance "unexpected end of file when reading from daemon" error.Richard W.M. Jones2011-06-131-2/+21
| | | | | | Make this error more informative, since it is a common error when the appliance fails to start up. (cherry picked from commit 2f73ea343cc4a3433f20e99a7835152767a70f80)