summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libguestfs: Added gnulib includes from builddir, as suggested by the Gnulib ↵Hilko Bengen2011-12-023-2/+3
| | | | | | | | | documentation Since some modules (`getopt', for example) may copy files into the build directory, `top_builddir/lib' is needed as well as `top_srcdir/lib'. -- GNU Gnulib manual, section 2.2 Initial import (cherry picked from commit 1a35ca59088e572c11633e85524bb282cb436186)
* ocaml: Fix OCaml dependencies.Richard W.M. Jones2011-12-021-2/+2
| | | | (cherry picked from commit ce331df0f1857bccebaaddfac79677bc9f527197)
* python: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-12-021-0/+1
| | | | (cherry picked from commit e7e3a32edc29e3448b1d7efb3f6b53c5173c4e9c)
* perl: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-12-021-0/+1
| | | | (cherry picked from commit 00c9755ee3bea98968acea47bac858db94f7fbe2)
* ruby: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-12-021-0/+1
| | | | (cherry picked from commit eb7ec6170eca278fb910e18ca1f7ca81c6b507c0)
* extra tests: Add comments about what is not tested here.Richard W.M. Jones2011-12-021-8/+25
| | | | (cherry picked from commit efef3e3c1205e5476044f41fb88385e3ba07468d)
* extra tests: Absolute path for 'run' command.Richard W.M. Jones2011-12-021-1/+1
| | | | (cherry picked from commit 27d00960c93b26c68fa1f4068502c32a6e3b5e94)
* extra tests: Split up and reorder tests more logically.Richard W.M. Jones2011-12-021-9/+15
| | | | (cherry picked from commit cee513112adcf4084d6be9e3b5037b7b54c9f514)
* extra tests: Test virt-sparsify.Richard W.M. Jones2011-12-024-5/+23
| | | | | | | | | This adds the virt-sparsify --debug-gc option which causes virt-sparsify to call Gc.compact before exiting, allowing GC and memory problems to be tested. Add an extratest which runs virt-sparsify under valgrind. (cherry picked from commit 14b1e7b963cd5446ab76a067085b91925dd5d3e3)
* extra tests: Test virt-resize.Richard W.M. Jones2011-12-024-5/+23
| | | | | | | | | This adds the virt-resize --debug-gc option which causes virt-resize to call Gc.compact before exiting, allowing GC and memory problems to be tested. Add an extratest which runs virt-resize under valgrind. (cherry picked from commit 7708d3e04f6ec3985fd74ee1a44a5615d43065e2)
* ocaml: Load test should call Gc.compact to flag memory errors.Richard W.M. Jones2011-12-021-0/+2
| | | | (cherry picked from commit 082a55f76cd61f3590976f6b095552ea65259ced)
* ocaml: Fix memory leak in bindings for functions that return buffers.Richard W.M. Jones2011-12-021-0/+1
| | | | | | | | RBufferOut binding didn't free the buffer after copying it onto the OCaml heap. Found by valgrind. (cherry picked from commit 6bd0eec12f2e39360847bfe7a9f50628cc89ed8e)
* extra tests: Run C API tests under valgrind.Richard W.M. Jones2011-12-021-0/+5
| | | | (cherry picked from commit e1f395defc6db5bbc82537af6e517d94216b7d4b)
* protocol: Memory leak: Free temporary buffer along recv_discard path.Richard W.M. Jones2011-12-021-0/+1
| | | | (cherry picked from commit d81c0829ea4a99aadb98df37be9543a973269041)
* extra tests: Run OCaml tests under valgrind.Richard W.M. Jones2011-12-022-2/+41
| | | | (cherry picked from commit aa4eb4cd109dda0dc7dfdd66a5163a18b0be2277)
* extra tests: Split VG variable into VG / RUN_VG.Richard W.M. Jones2011-12-021-33/+33
| | | | | This is just code motion. (cherry picked from commit 6ccae55ddcf0c08cd1b1cdbc07afeed043ad410d)
* ocaml: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-12-021-0/+1
| | | | (cherry picked from commit c5dbb1e63a8e0c45c7088dd2e58f5abbcfc30620)
* fish: When -m option fails, canonicalize device names that are printed.Richard W.M. Jones2011-12-021-0/+15
| | | | | | | | | | | | The error message now looks like this: guestfish: '/dev/vda6' could not be mounted. Did you mean one of these? /dev/sda1 (ext4) /dev/vg_f15x32/lv_root (ext4) /dev/vg_f15x32/lv_swap (swap) Note that '/dev/sda1' has been canonicalized. (cherry picked from commit f5bfc68fdb3e25b9d75c65e3f5e88983584b25ed)
* fish: Rearrange code for displaying mountpoints when -m option fails.Richard W.M. Jones2011-12-021-12/+33
| | | | | This also frees the list returned by guestfs_list_filesystems. (cherry picked from commit 450134501c37f1dd1b898dc390591a3f84ec18b4)
* Version 1.14.4.1.14.4Richard W.M. Jones2011-11-2420-9757/+9795
|
* ubuntu: Add extra suppressions for libnl.1 leaks.Richard W.M. Jones2011-11-241-0/+14
| | | | (cherry picked from commit b5b4816ab006ce09b7a7103dbe87b3129046648d)
* extra-tests: Include valgrind suppressions file.Richard W.M. Jones2011-11-243-1/+48
| | | | | This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5. (cherry picked from commit be7cb789069afc93e7c1b0e7a1a9a293dc846d45)
* regressions: Allow test-launch-race.pl to be skipped.Richard W.M. Jones2011-11-241-0/+3
| | | | | | export SKIP_TEST_LAUNCH_RACE_PL=1 will cause this test to be skipped. (cherry picked from commit 3bbcbd5eeadabb1cc5a40b2f8ae586e6aafd39c6)
* Add 'make extra-tests' rule and run extra tests.Richard W.M. Jones2011-11-246-1/+123
| | | | | | These tests are optional, and require a special environment and tools to run. (cherry picked from commit c55bad93fbde03a3daa6058913f02098c45e55f5)
* lib: Fix memory leak when debugging enabled (found by valgrind).Richard W.M. Jones2011-11-241-0/+2
| | | | | | If you enabled debugging (eg. LIBGUESTFS_DEBUG=1) then every debug message printed would be leaked. (cherry picked from commit dd76ce2b4c93dd10d8eca9ab7c77bc831f103d03)
* test-tool: Fix multiple memory leaks found by valgrind.Richard W.M. Jones2011-11-241-4/+8
| | | | (cherry picked from commit bfc0a5f58d3cb6faad5a44bed392f33190e62246)
* filesystems: Fix memory leak found by valgrind.Richard W.M. Jones2011-11-241-1/+3
| | | | (cherry picked from commit cd3d28491dd19d25a6c04a8bc6a7ec94bded413b)
* part-disk: Change default alignment of this to 64K (128 sectors).Richard W.M. Jones2011-11-241-5/+6
| | | | | | | This is the minimum alignment. 1MB would be better. Note that the exact behaviour is not defined in the API. (cherry picked from commit c4381dba737d5cb8aad8e1b2e2123b0fcaff1d1a)
* virt-alignment-scan: Add checks for when API calls return NULL.Richard W.M. Jones2011-11-241-0/+4
| | | | | | In particular, virt-alignment-scan -a /dev/null would segfault because of an error returned by parted. (cherry picked from commit 7b192f5a672197ad67ac23501e420c674aa2f3a9)
* NFC: Allow multiple config files in inspect_with_augeas in inspect_fs_unix.cMatthew Booth2011-11-241-19/+59
| | | | | This change is in support of the addition of MD support to fstab inspection. (cherry picked from commit 373dca7d12a8741e116205b4a3ac67a7d82cc782)
* NFC: Consolidate the error path in check_fstab in inspect_fs_unix.cMatthew Booth2011-11-241-14/+9
| | | | (cherry picked from commit 011a248381cacd6751deb1d1be122cc9bd6aba09)
* NFC: Declare and use variables on the same line in inspect.cMatthew Booth2011-11-241-4/+2
| | | | (cherry picked from commit c8cb3d27b62da20be6b2fa06f1ce6b63a722c32b)
* build: Nothing under images/ should be translatedMatthew Booth2011-11-241-0/+1
| | | | (cherry picked from commit 34c0542189a443e57f2b09886f31b5bdad404bbf)
* run script: Don't overwrite LD_LIBRARY_PATH and PERL5LIBMatthew Booth2011-11-241-3/+13
| | | | | This change allows the run scripts of virt-v2v and libguestfs to be chained. (cherry picked from commit 252ad4aa41c213948e4ee1f01e6c7ff7861f75e3)
* gnulib: Rebase to latest.Richard W.M. Jones2011-11-243-0/+7
| | | | (cherry picked from commit 065b6b5798913c9bb40215944920199ae7d27007)
* Don't rely on implicit promotion of float to double in printf args.Richard W.M. Jones2011-11-242-4/+6
| | | | (cherry picked from commit 9b102aae65449a8d321e8cf44a3993af558291db)
* fish: In generated code, put function names on a new line.Richard W.M. Jones2011-11-241-5/+10
| | | | | | | | | | eg: static void run_foo () { } (cherry picked from commit 99ec97dcdfaf242ba0683a230ba51e4a87f7458b)
* Version 1.14.3.1.14.3Richard W.M. Jones2011-11-2221-560/+2904
|
* df, testing: Add notes on virt-df numbers (thanks Kashyap Chamarthy).Richard W.M. Jones2011-11-222-1/+49
| | | | (cherry picked from commit 7b3137e664c3f4edf6ac7043a34c4166567e17bd)
* sparsify: Add auto-detection of .vdi files.Richard W.M. Jones2011-11-223-3/+23
| | | | | | | Note that for this to work properly, it requires a patch to the 'file' command. See: https://www.redhat.com/archives/libguestfs/2011-November/msg00120.html (cherry picked from commit 342b4a55d056734a0344db8b4bcf1a90104a8a59)
* guestfs-testing: Link to libguestfs-test-tool.Richard W.M. Jones2011-11-221-0/+5
| | | | (cherry picked from commit 6f39cfaeacda146d0eaa35da6f6413fa6ab3d40a)
* out-of-tree build: rubyHilko Bengen2011-11-223-12/+12
| | | | (cherry picked from commit 8bc6e9d6a89672bbe1e7469774abe889354deb67)
* Add guestfs-testing(1) man page.Richard W.M. Jones2011-11-225-4/+314
| | | | | This contains suggested manual tests that users can run. (cherry picked from commit a3b24296810d98e47552c6838dcd6ab6845aba03)
* out of tree build: haskellHilko Bengen2011-11-221-6/+6
| | | | (cherry picked from commit 730fb50780df860474dc1fae16c9891187e99c82)
* java: out-of-tree build, don't build static libraryHilko Bengen2011-11-221-3/+4
| | | | (cherry picked from commit a0509ff0715533e341573e24f6888fd7dcf4ba51)
* out of tree build: erlangHilko Bengen2011-11-221-1/+1
| | | | (cherry picked from commit ddb3fac1bf1b0493779c9425b518598473ef106a)
* 32 bit: Fix printf off_t.Richard Jones2011-11-221-2/+2
| | | | (cherry picked from commit 47963bc9cc0b47af0541010a4fa14260405acaa5)
* 32 bit: Use %td for ptrdiff_t (difference between two pointers).Richard W.M. Jones2011-11-221-1/+1
| | | | (cherry picked from commit 5d48250224fcb140b7e6e17f36b37deab4e0659b)
* df: Disable part of virt-df test.Richard W.M. Jones2011-11-221-8/+10
| | | | | | See: https://www.redhat.com/archives/libguestfs/2011-November/msg00051.html (cherry picked from commit 6e6b3ff35f9baafb22d5459ca13c112b1e00ae1b)
* generator: Support testing the output of RHashtable functions.Richard W.M. Jones2011-11-223-0/+47
| | | | | | You can use TestOutputHashtable to test the output of RHashtable functions. (cherry picked from commit 5f0b75f040b118c4394466438adc99f38144722d)