summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* daemon: Define safe ADD_ARG macro for constructing arg lists on the stack.Richard W.M. Jones2011-11-225-87/+102
| | | | (cherry picked from commit edd502543adbdc2fa5dda0c015ea7c390bb39f64)
* Version 1.14.2.1.14.2Richard W.M. Jones2011-11-1020-429/+1140
|
* ocaml: Fix bindings when a function takes more than 10 parameters.Richard W.M. Jones2011-11-091-4/+14
| | | | | | | If any function had more than 10 required + optional parameters, OCaml bindings could not be generated. Currently there are no such functions. (cherry picked from commit 29172e7c4878085a680812f7f3b8ad6ea5f1193c)
* tests: Fix bitmask parameter when testing optional arguments.Richard W.M. Jones2011-11-091-6/+7
| | | | | | | | | The bitmask was being constructed backwards(!) As a result, any test which tested optional arguments didn't work. There are very few such tests and they happened not to be affected by this. (cherry picked from commit af2b0378bbb178a4e3db326ac3082d66170fcafc)
* fish: More informative documentation of optargs.Richard W.M. Jones2011-11-091-2/+12
| | | | (cherry picked from commit 271f8e4b70e4acf2db96f6fe6317fda327fa5f2e)
* ocaml: Compile OCaml bindings and tests with -warn-error.Richard W.M. Jones2011-11-091-12/+15
| | | | (cherry picked from commit 145ed04e41a3fcd3be87c11cae0085f4551f1da8)
* ocaml: Catch EVENT_ENTER case in test.Richard W.M. Jones2011-11-091-1/+2
| | | | | | | | For some reason we are not compiling the tests with -warn-error so this problem was not noticed before. This fixes commit 9420eaf44ec4067c3740b91b0be0fede08a0c515. (cherry picked from commit 22c72b911e65b93cfd049f42e6bd1b9ad7d55299)
* Update FSF address.Matthew Booth2011-11-09299-307/+307
| | | | (cherry picked from commit 04ea1375c55aa67df4e7fc61dbb534111767f3b6)
* daemon: Use a private copy of /etc/lvm so we don't modify the real config.Richard W.M. Jones2011-11-093-16/+101
| | | | | | | | | | In the libguestfs live case we need to be careful not to modify the real /etc/lvm/lvm.conf file (when setting the filter rule). When the daemon starts, make a complete copy of /etc/lvm in a temporary directory, and adjust LVM_SYSTEM_DIR to point to the copy. All changes are made in the temporary copy. (cherry picked from commit 9c299b64bb24cefafa582fe425bb65b78373d205)
* daemon: Don't use files with fixed names in /tmp (thanks Steve Kemp).Richard W.M. Jones2011-11-092-20/+46
| | | | | | | Although this doesn't matter for the ordinary (appliance) case, it matters for the libguestfs live case. In that case it could cause the guest to be exploited by a tmp/symlink attack. (cherry picked from commit 6011b1f803ba7308c6a94b9bf6b7212cfccb9f42)
* virt-sysprep: Don't use xmlstarlet.Richard W.M. Jones2011-11-093-16/+9
| | | | | Use virt-inspector --xpath option instead. (cherry picked from commit 22998927f91f123e7c35d3ebf49e5744f3d7eafe)
* Add virt-inspector --xpath to run XPath queries directly.Richard W.M. Jones2011-11-092-7/+146
| | | | | | | | xmlstarlet is good, but not available in Red Hat Enterprise Linux. Build a simple but sane XPath query parser into virt-inspector directly so that we don't need any external tools. (cherry picked from commit d1ee71782ace98a11c5aabaf1f9fd5f601e08367)
* resize: Remove requirement for ocaml Pcre library.Richard W.M. Jones2011-11-096-34/+11
| | | | | | This library is not available in RHEL 6, and in any case removing the dependency is a simple change. (cherry picked from commit ffbafadcb8dfebcaba529cb8d7e2da52dd032d8a)
* resize: Add tests for some Utils functions.Richard W.M. Jones2011-11-094-2/+99
| | | | (cherry picked from commit 63898268101e5ec91c8dac46651dbee5976272ce)
* python: Use sys.version_info[0] instead of sys.version_info.major.Richard W.M. Jones2011-11-091-2/+2
| | | | | | | | | | The major/minor fields only exist in Python >= 2.7. This works for at least Python 2.5 and 2.6. Thanks to Hilko Bengen. This updates commit 646142f5136da9cfe2b908703a822c53350f70e9. (cherry picked from commit 31e5539a14f78d8815d0d930e91023a65b5395e7)
* python: Fixes for Python 3 (RHBZ#750889).Richard W.M. Jones2011-11-095-24/+123
| | | | | | | | | | | | | | These fixes allow libguestfs bindings to work with Python 3 (tested with Python 3.2) You can select which Python you compile against by doing: PYTHON=python ./configure && make && make check or: PYTHON=python3 ./configure && make && make check (cherry picked from commit 2116f79cbcd4605b4997931285f14dde1f72a992)
* python: Pass $PYTHON environment variable to tests.Richard W.M. Jones2011-11-093-6/+7
| | | | | | | | | If the user set PYTHON when configuring, this variable is not passed through to the tests, so it is possible the tests will fail because they are testing the wrong version of python. By passing $PYTHON through to the tests we ensure that we test against the same version of python that we configured with. (cherry picked from commit e2249b7ce1dd0a2f8f110e0e47aca397185a6373)
* python: Include <config.h>.Richard W.M. Jones2011-11-091-0/+2
| | | | | Ooops ... (cherry picked from commit 25454b83082a4cfed4f1664d2f9cdfcb222ba7c2)
* python: Correctly check for Python major/minor.Richard W.M. Jones2011-11-091-1/+3
| | | | | | | | | The manual for sys.version warns that you should not parse the string, which we were doing. It would have failed on python "2.10" or similar. Do it correctly using the sys.version_info struct instead. (cherry picked from commit 646142f5136da9cfe2b908703a822c53350f70e9)