summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.15.10.1.15.10Richard W.M. Jones2011-12-0618-75/+36
|
* Fix rpcgen post-processing for out-of-tree buildsHilko Bengen2011-12-062-2/+2
|
* ruby: Use RSTRING_PTR, RSTRING_LEN for compat with Ruby 1.9 (RHBZ#760000).Richard W.M. Jones2011-12-051-2/+11
|
* blkid: split the RHEL5 which can't support some optionsWanlong Gao2011-12-051-7/+73
| | | | | | | RHEL5 shoult not support '-p', '-i' and '-o export' options. But we just split it according to the '-p' option. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* TODO: remove the implemented command blkidWanlong Gao2011-12-051-1/+0
| | | | | | Remove the implemented command blkid from TODO lists. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* Revert "blkid: Use -c /dev/null because RHEL 5 blkid doesn't have -p option."Richard W.M. Jones2011-12-041-5/+2
| | | | This reverts commit 6533491b178d18bfab8240cf093be4ef9b547548.
* Revert "blkid: Fix mistake in previous commit."Richard W.M. Jones2011-12-041-1/+1
| | | | This reverts commit c48226a5026816b115ab63b50d3601531aff59dc.
* blkid: Fix mistake in previous commit.Richard W.M. Jones2011-12-031-1/+1
| | | | This updates commit 6533491b178d18bfab8240cf093be4ef9b547548.
* blkid: Use -c /dev/null because RHEL 5 blkid doesn't have -p option.Richard W.M. Jones2011-12-031-2/+5
|
* daemon: Use pkg-config to locate Augeas CFLAGS / libraries.Richard W.M. Jones2011-12-033-18/+16
| | | | | | | | | | | | | | | | | | Augeas 0.10 depends on libxml2, so this is now required in the appliance (in fact, it was already present). However this exposed two bugs: (1) In libguestfs we use a home-brewed recipe for Augeas flags, resulting in this error: /usr/include/augeas.h:24:25: fatal error: libxml/tree.h: No such file or directory (2) Augeas's own augeas.pc didn't include the libxml2 flags, so it was broken. This requires a patch to Augeas 0.10, see: https://www.redhat.com/archives/augeas-devel/2011-December/msg00008.html Change to using pkg-config to detect Augeas. It is still an optional library.
* Version 1.15.9.1.15.9Richard W.M. Jones2011-12-0320-18591/+18946
|
* NEW API: add blkid command to print the attributes of the deviceWanlong Gao2011-12-033-1/+114
| | | | | | | | | | | | A NEW API blkid. It can print the device attributes. Use it after list-devices, we can list ower devices and the attributes of each device. Use it like: blkid <device> It's should be a usefull function. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* extra tests: Test that valgrind and libtool are installed.Richard W.M. Jones2011-12-021-0/+12
|
* inspection: Add a test for MD device mapping in fstabMatthew Booth2011-12-022-0/+75
| | | | | | | Check that we properly handle fstab entries of the form /dev/md0 and /dev/md/foo. RWMJ: Add a skip to test if the Augeas lens is not available.
* inspection: Handle MD devices in fstabMatthew Booth2011-12-021-7/+323
| | | | | | | | | This patch fixes inspection when fstab contains devices md devices specified as /dev/mdN. The appliance creates these devices without reference to the guest's mdadm.conf so, for e.g. /dev/md0 in the guest will often be created as /dev/md127 in the appliance. With this patch, we match the uuids of detected md devices against uuids specified in mdadm.conf, and map them appropriately when we encounter them in fstab.
* build: Add more suppressions for valgrind testsMatthew Booth2011-12-021-1/+34
|
* mkfs: enable to make xfs filesystems when the device already has a filesystemWanlong Gao2011-12-021-0/+3
| | | | | | | | Just add the -f option to mkfs.xfs to make sure we can make a xfs filesystem when the device already has a filesystem on it. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* libguestfs: Added gnulib includes from builddir, as suggested by the Gnulib ↵Hilko Bengen2011-12-013-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
* todo: Suggestion for UUIDs in /etc/fstab (thanks Joshua Daniel Franklin).Richard W.M. Jones2011-11-301-1/+3
|
* ocaml: Fix OCaml dependencies.Richard W.M. Jones2011-11-301-2/+2
|
* Version 1.15.8.1.15.8Richard W.M. Jones2011-11-2919-481/+540
|
* python: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-11-291-0/+1
|
* perl: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-11-291-0/+1
|
* ruby: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-11-291-0/+1
|
* extra tests: Add comments about what is not tested here.Richard W.M. Jones2011-11-291-8/+25
|
* extra tests: Absolute path for 'run' command.Richard W.M. Jones2011-11-291-1/+1
|
* extra tests: Split up and reorder tests more logically.Richard W.M. Jones2011-11-291-9/+15
|
* extra tests: Test virt-sparsify.Richard W.M. Jones2011-11-294-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.
* extra tests: Test virt-resize.Richard W.M. Jones2011-11-294-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.
* ocaml: Load test should call Gc.compact to flag memory errors.Richard W.M. Jones2011-11-291-0/+2
|
* ocaml: Fix memory leak in bindings for functions that return buffers.Richard W.M. Jones2011-11-291-0/+1
| | | | | | | RBufferOut binding didn't free the buffer after copying it onto the OCaml heap. Found by valgrind.
* Version 1.15.7.1.15.7Richard W.M. Jones2011-11-2920-6540/+6525
|
* extra tests: Run C API tests under valgrind.Richard W.M. Jones2011-11-291-0/+5
|
* protocol: Memory leak: Free temporary buffer along recv_discard path.Richard W.M. Jones2011-11-291-0/+1
|
* extra tests: Run OCaml tests under valgrind.Richard W.M. Jones2011-11-292-2/+41
|
* extra tests: Split VG variable into VG / RUN_VG.Richard W.M. Jones2011-11-291-34/+34
| | | | This is just code motion.
* ocaml: Memory leak: Free roots array along handle close path.Richard W.M. Jones2011-11-291-0/+1
|
* inspection: Cleanup iteration over fstab entries in inspect_fs_unix.cMatthew Booth2011-11-291-28/+24
| | | | | | | | | | | | | | Select non-comment labels using an augeas path to return the correct nodes in the first instance, rather than applying a regular expression to all results. There is no functional change to the code. RWMJ: - Rebased to current HEAD. - Move variable decls to top of function. - Some whitespace changes. - Remove check for errors from snprintf since it can never happen.
* inspection: Add outline support for GNU/Hurd.Richard W.M. Jones2011-11-287-0/+56
|
* fish: When -m option fails, canonicalize device names that are printed.Richard W.M. Jones2011-11-281-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.
* fish: Rearrange code for displaying mountpoints when -m option fails.Richard W.M. Jones2011-11-281-12/+33
| | | | This also frees the list returned by guestfs_list_filesystems.
* docs: Tidy up documentation for md-stop.Richard W.M. Jones2011-11-251-11/+1
| | | | This cleans up commit cbd1c45d95c530c8d94103dcc2c521bf5501ef59.
* Version 1.15.6.1.15.6Richard W.M. Jones2011-11-2421-15693/+16382
|
* ubuntu: Add extra suppressions for libnl.1 leaks.Richard W.M. Jones2011-11-241-0/+14
|
* Update API support.Richard W.M. Jones2011-11-2417-0/+7262
|
* extra-tests: Include valgrind suppressions file.Richard W.M. Jones2011-11-243-1/+48
| | | | This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5.
* 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.
* debian: Use mdadm -D --export instead of mdadm -DY.Richard W.M. Jones2011-11-241-2/+2
| | | | For compatibility with mdadm on Debian Squeeze.
* Add 'make extra-tests' rule and run extra tests.Richard W.M. Jones2011-11-246-1/+124
| | | | | These tests are optional, and require a special environment and tools to run.
* 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.