summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fish: Don't fail if -m and --listen flags are both given (RHBZ#612178).Richard Jones2010-07-121-0/+11
| | | | | | | | | | | | | | | | | Testing this against a Fedora disk image: $ ./fish/guestfish --ro -a F13.img -m /dev/sda1 --listen export GUESTFISH_PID=6033 $ ./fish/guestfish --remote=6033 -- ping-daemon $ ./fish/guestfish --remote=6033 -- ping-daemon $ ./fish/guestfish --remote=6033 -- exit Without this fix the first remote command would fail because qemu would have already been killed. For stable-1.2 branch: - Cherry picked from commit 8161ea9bb046c8450384b5b15e1f4b2f3dca582b - Rebased for older guestfish code.
* inspector: Improve error message when YAML::Any library is not installed.Richard Jones2010-07-121-1/+1
| | | | (cherry picked from commit 015b7a2ee6b4ba0f1400640fa16e2526a69d081e)
* Explicitly depend on e2fsprogs.Richard Jones2010-07-121-0/+1
| | | | | See: http://lists.fedoraproject.org/pipermail/devel/2010-June/137953.html (cherry picked from commit 9928498ad87ed1d7a1c191d5637d36d5f9b09ee4)
* Fix gfs2 support by adding required kernel modules.Richard Jones2010-07-121-0/+4
| | | | (cherry picked from commit 61adbba900a4150110d9fcd20097b3a5c249e6c7)
* ocaml: Fix thread safety of strings in bindings (RHBZ#604691).Richard Jones2010-07-126-19/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | There's a thread safety issue with the current OCaml bindings which is well explained in the bug report: https://bugzilla.redhat.com/show_bug.cgi?id=604691 This commit fixes the safety issue by copying strings temporarily before releasing the thread lock. Updated code looks like this: char *filename = guestfs_safe_strdup (g, String_val (filenamev)); int r; caml_enter_blocking_section (); r = guestfs_add_drive_ro (g, filename); caml_leave_blocking_section (); free (filename); if (r == -1) ocaml_guestfs_raise_error (g, "add_drive_ro"); Also included is a regression test. For stable-1.2 branch: - cherry picked from commit 1079f74704a06c06996e547fdecf20a8f92799c6 - generator code rebased
* perl: Check all images are defined in first param of open_guest.Richard Jones2010-07-121-0/+7
| | | | (cherry picked from commit e67e216118df3a724482cb698a868ecbaacbf326)
* Fix typo in documentation of guestfs_set_launch_done_callback.Richard Jones2010-07-121-1/+1
| | | | (cherry picked from commit 91b00dc092be17a309f14fc35f41dbf1e41c4c58)
* virt-df: Disallow -h and --csv options together (RHBZ#600977).Richard Jones2010-07-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, if you used the -h and --csv options together you would get these warnings from virt-df: $ virt-df -h --csv Guest Virtual Machine,Filesystem,Size,Used,Available,Use% Argument "13.5G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. Argument "4.7G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. Argument "8.1G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. "/dev/vg_trick/RHEL55x64","/dev/VolGroup00/LogVol00",13,4,8,34.8% Argument "98.7M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. Argument "18.8M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. Argument "74.9M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298. "/dev/vg_trick/RHEL55x64","/dev/vda1",98,18,74,19.0% We could fix this so that the human-readable numbers get written into the CSV file. However would probably be wrong for most uses of the CSV format (databases and spreadsheets) since they would not be able to interpret these human-readable numbers, or worse could misinterpret, eg. thinking that "1M" and "1G" are both 1. Therefore this commit disallows this combination of options. (cherry picked from commit aaf03a51a26ee501f5dbf2720bbb8a5e3b4e1e6b)
* generator: Allow individual tests to depend on daemon features.Richard Jones2010-07-121-2/+12
| | | | | | | | | Using IfAvailable "featurename" we allow individual tests to only run if the feature is available in the daemon. This will allow us to extend testing to a lot more optional features such as NTFS. (cherry picked from commit f9d08600c52dc0730e7dad8d9259b59e32aeece2)
* tests: Factor out common code into 'is_available' function.Richard Jones2010-07-121-10/+16
| | | | | This commit is just code motion. (cherry picked from commit cbe80b2bcfdee437d195f25aaf6f5d96329ab360)
* grub-install: In docs suggest manually creating device.map (RHBZ#484986).Richard Jones2010-07-121-1/+12
| | | | (cherry picked from commit dccd9b8f525cfae49b89c38066d752e6c054c7f6)
* Version 1.2.9.1.2.9Richard Jones2010-06-0214-5420/+5464
|
* RHEL 6: sr_mod.ko is needed for RHEL 6 to see CD-ROM devices (RHBZ#598807).Richard Jones2010-06-021-0/+1
| | | | (cherry picked from commit ac37f65aaf1f162a2cc57fa8c296a1ff4109adb9)
* parted: Check partition number >= 1 in several calls.Richard Jones2010-06-021-0/+30
| | | | (cherry picked from commit cbb026036826f2ab40237aec0b0c5453b859625d)
* daemon: Parse output of old parted which didn't support -m option (RHBZ#598309).Richard Jones2010-06-021-83/+284
| | | | | | | | | This fixes the following commands when run with RHEL 5-era parted: get-bootable get-parttype part-list (cherry picked from commit 3ab2d089f3eb34562bc2c9ce4310869b46c69d70)
* daemon: count_strings function returns size_tRichard Jones2010-06-023-4/+4
| | | | (cherry picked from commit aee7d55fcf754d97d945c318ec06d6387ade067b)
* resize2fs: Document this command also works with ext4 (thanks Yufang Zhang).Richard Jones2010-06-021-2/+2
| | | | | | For stable-1.2 branch: - cherry picked from commit 1020b212b189968ead013436cac79019fbd8fdad - rebased for 1.2 branch
* fish: help command return error for non-existent commands (RHBZ#597145).Richard Jones2010-06-023-26/+56
| | | | | | | | | | | | | | | | | | With this change, the exit status indicates error for non-existent commands. $ guestfish -h foo foo: command not known, use -h to list all commands $ echo $? 1 $ guestfish help foo foo: command not known, use -h to list all commands $ echo $? 1 For stable-1.2 branch: - cherry picked from commit f2b7a8e15c49ebc70c7ea56aefb340362aae5a99 - rebased for the 1.2 branch
* daemon: write-file: Check range of size parameter (RHBZ#597135).Richard Jones2010-06-022-2/+26
| | | | | | | | This also adds a regression test. For stable-1.2 branch: - cherry picked from commit 9733d4746988b3a072d8bb1daac4b9795b8f4134 - modify the regression test to apply against the generator
* daemon: Limit label lengths (RHBZ#597118).Richard Jones2010-06-022-0/+42
| | | | (cherry picked from commit 52f9cd4882135910ea06e1e50ac6441d455c9ab1)
* daemon: Kill blkid cache to improve reliability of blkid commands.Richard Jones2010-06-021-0/+7
| | | | | | By killing the cache file, we make blkid work in situations such as a just-created filesystem. (cherry picked from commit 21c42e9fabf6cea3d564e338a314479ef120502a)
* daemon: Generalize the implementation of vfs-type.Richard Jones2010-06-021-3/+9
| | | | | Note that there is no change to the semantics of the code. (cherry picked from commit 85c71f8fff3e80f549342bf995b686ba7303c2b4)
* todo: Should generate -N option.Richard Jones2010-06-021-0/+6
| | | | (cherry picked from commit fc1dc099a1ceeea45d3c21c699daf39618ca714a)
* todo: Remove implemented resize functions from TODO file.Richard Jones2010-06-021-17/+0
| | | | (cherry picked from commit 0e42861ccf9e55582db13828ca4eaef213de1f8a)
* Rely on new augeas lens for modules.conf and conf.modulesMatthew Booth2010-06-021-7/+0
| | | | | | | | | | | | | | | | Latest augeas includes a lens for /etc/modules.conf. If this new lens is present, the code to force the Modprobe lens to try to match /etc/modules.conf as well results in /etc/modules.conf not being parsed at all. This results in modprobe_aliases in virt-inspector output being empty. This change is equivalent to change cfd28d1140393667913689b7b9bcf21c8bfe592c from virt-v2v. An effect of this change is that the Modules_conf augeas lens is now required for correct operation on guests which use /etc/modules.conf. Fixes RHBZ#596776 (cherry picked from commit 245ed4b8eb076a8c4cc5787f49d21c4f68630f9f)
* Fix documentation for vfs-type to reflect reality.Richard Jones2010-06-021-5/+6
| | | | (cherry picked from commit 0f6c6239fe0d1b4624e4e9776559c21486a9c7cf)
* Clarify documentation on distro backports in version command.Richard Jones2010-06-021-2/+4
| | | | (cherry picked from commit 11eeb8885c7a8ffb59e12cd5fb2ae0fc324df383)
* Add reference to version number documentation to version command.Richard Jones2010-06-021-0/+2
| | | | (cherry picked from commit 8355d3245623c106439ca5ef66f24972c8e09019)
* Clarify sparse behaviour of truncate-size command.Richard Jones2010-06-021-2/+7
| | | | (cherry picked from commit d12a702fe1898f3ea421210d92c705440efe07a8)
* Fix typo in documentation of guestfs_readlinklist.Richard Jones2010-06-021-1/+1
| | | | (cherry picked from commit 4412fd951ee7766ee9a70bf66b5cf11378a64ed0)
* Fix missing word in docuentation of guestfs_readdir.Richard Jones2010-06-021-1/+1
| | | | (cherry picked from commit b8861242d13cc034383a56ba891d3e0b9123a99c)
* Fix typo in description of echo-daemon command.Richard Jones2010-06-021-2/+2
| | | | (cherry picked from commit c1e3cff523d72e8110cbc568a3c280e57c2aabca)
* fish: Don't eat words when completing case-insensitive paths (RHBZ#582993).Richard Jones2010-06-023-1/+37
| | | | (cherry picked from commit 21bd2db7cf259a17cc3922409937b849e4b83c0f)
* fish: Sort returned paths so the list is stable across multiple calls.Richard Jones2010-06-021-0/+11
| | | | (cherry picked from commit 53c3b9d2b03fa5cb0ac7e86a5a51f2a18a2b91c1)
* fish: Create a separate FILES section in the manpage.Richard Jones2010-06-021-2/+27
| | | | (cherry picked from commit 7fd6e4bfb11d1f86c585de06fb2146aa5cbd400e)
* fish: Move 'EXIT CODE' section to a more logical place in the documentation.Richard Jones2010-06-021-5/+5
| | | | (cherry picked from commit 34a306ab2a7e6d9f468e8194cef8a05624325260)
* resize: Refresh the examples in the documentation.Richard Jones2010-06-021-1/+17
| | | | | | | | | | | | The documentation was previously very intimidating. Bring some common, simple examples up to the top of the page in a separate section. For stable-1.2 branch: - cherry picked from commit 0e28e4104d96bf0bf5b88fb07bb7e5f9f6e6f41f - modified instructions slightly to apply to older version of virt-list-partitions - replace 'truncate' with 'dd'
* fish: Make the read/write warning more prominent.Richard Jones2010-06-021-5/+7
| | | | | | Follow the example on other manual pages by making the warning more prominent. (cherry picked from commit 57cc217335ff511e579b094e47b0de57d5c3aaef)
* Version 1.2.8.1.2.8Richard Jones2010-05-2414-589/+589
|
* build: For development releases, print a notice.Richard Jones2010-05-241-0/+16
| | | | (cherry picked from commit 613d041c78e25dafc238696f2fe35b51e443f23b)
* guestfs_version: Correct documentation.Richard Jones2010-05-241-2/+3
| | | | | | Remove reference to 'ELF weak linking tricks' and replace with suggestion to use dl* functions. (cherry picked from commit 94030c5ce8b5848330e15e812a01064d5afcc6d0)
* TODO: Suggest including undelete utility.Richard Jones2010-05-241-0/+1
| | | | (cherry picked from commit 478e1942a9fb4d86b0c4701b6b71f1eac376d0c1)
* Fix name of update-bugs script in output file BUGS.Richard Jones2010-05-241-1/+1
| | | | (cherry picked from commit aecdf3c117874e3dc44282600b988d18350b3ad5)
* generator: Some String parameters should be OptString (RHBZ#501894).Richard Jones2010-05-241-2/+2
| | | | | | I haven't checked the list of functions exhaustively, but these are the obvious ones. (cherry picked from commit e715451fae0ba738973af98a4e506b6c5564626a)
* fish: Fix build error if built without readline.Richard Jones2010-05-241-2/+4
| | | | | | | | fish.c:1447: error: 'add_history_line' defined but not used [-Wunused-function] (Reported by Matt Booth) (cherry picked from commit 5af010c96d687a7cf5251107a74770a231f42b77)
* appliance: Ignore utempter unreadable binaries (for RHEL 6).Richard Jones2010-05-241-0/+1
| | | | (cherry picked from commit 2dc7bb00337656c00fabed2c1f017aac1fa09da4)
* appliance: Change comment about unreadable binaries.Richard Jones2010-05-241-3/+4
| | | | | | For stable branch, change reference to febootstrap-supermin-helper to libguestfs-supermin-helper. (cherry picked from commit 155aa76e57c99594a3724933b6d117f1053544b3)
* Update BUGS and PO files.1.2.7Richard Jones2010-05-1713-17/+17
|
* Update BUGS.Richard Jones2010-05-171-4/+7
|
* Version 1.2.7.Richard Jones2010-05-171-1/+1
|