Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | launch: Rearrange the code so config check is first. | Richard Jones | 2010-05-08 | 1 | -12/+12 |
| | | | | | | | Move the config state check first in the guestfs_launch function, so that we don't reset g->launch_t or calculate the temporary directory in the case where the launch function will immediately return with an error. | ||||
* | generator: FishAction is no longer used, remove this feature. | Richard Jones | 2010-05-08 | 1 | -5/+1 |
| | |||||
* | fish: Make 'launch' function static. | Richard Jones | 2010-05-08 | 1 | -1/+1 |
| | | | | | | This commit makes the launch function static and private to 'fish.c', and changes the generator so the function is no longer called for the 'run/launch' command. | ||||
* | If qemu dies during launch, set an error message (RHBZ#588851). | Richard Jones | 2010-05-07 | 1 | -4/+11 |
| | |||||
* | daemon: Fix read-file so it fails gracefully for large files (RHBZ#589039). | Richard Jones | 2010-05-07 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | | Pengzhen Cao noticed that read-file would fail for files larger than the protocol size; this is *not* the bug. However it would also lose protocol synchronization after this. The reason was that functions which return RBufferOut in the generator must not 'touch' the *size_r parameter along error return paths. I fixed read-file and initrd-cat, and I checked that pread was doing the right thing. This also adds regression tests for read-file with various categories of large file. | ||||
* | daemon: Fix wc* commands to work on absolute symbolic links (RHBZ#579608). | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | |||||
* | daemon: Fix strings to work on absolute symbolic links (RHBZ#579608). | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | |||||
* | daemon: Fix head and tail commands to work on absolute symbolic links ↵ | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | | | | (RHBZ#579608). | ||||
* | daemon: Fix grep and related to work on absolute symbolic links (RHBZ#579608). | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | |||||
* | daemon: Fix checksum to work on absolute symbolic links (RHBZ#579608). | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | |||||
* | daemon: Fix hexdump to work on absolute symbolic links (RHBZ#579608). | Richard Jones | 2010-05-07 | 1 | -1/+4 |
| | |||||
* | Use link-local addresses between appliance and host (RHBZ#588763). | Richard Jones | 2010-05-04 | 1 | -3/+3 |
| | |||||
* | Change network configuration to use macros. | Richard Jones | 2010-05-04 | 1 | -5/+25 |
| | | | | | | | | | | | | | Change the network configuration so everything is set using some macros at the top of src/guestfs.c. Also, rename the macros used in the daemon so they are not the same. It was a very long time since these sets of macros had to match the ones defined in src/guestfs.c, despite what the comment said. Note that this commit should not change the semantics of the program at all. | ||||
* | tests: In verbose mode, print dashes between each test. | Richard Jones | 2010-04-30 | 1 | -0/+2 |
| | | | | | Only affects tests when run with LIBGUESTFS_DEBUG=1. Lets you easily see when each test starts and ends. | ||||
* | Document that guestfs_mount implies -o sync and performance problem ↵ | Richard Jones | 2010-04-30 | 1 | -3/+14 |
| | | | | (RHBZ#587582). | ||||
* | lvresize: Use --force so it can make LVs smaller (RHBZ#587484). | Richard Jones | 2010-04-30 | 1 | -1/+8 |
| | | | | This also adds a regression test for this bug. | ||||
* | guestfs(3): Documentation on protocol gotchas. | Richard Jones | 2010-04-29 | 1 | -0/+17 |
| | |||||
* | docs: Routine refresh of the documentation for guestfs(3) and guestfish(1). | Richard Jones | 2010-04-24 | 1 | -100/+96 |
| | |||||
* | New API: checksums-out for checksumming many files. | Richard Jones | 2010-04-23 | 2 | -2/+20 |
| | | | | Useful API for verifying the integrity of virtual machines. | ||||
* | generator: Update docs for checksum to point to checksum-device. | Richard Jones | 2010-04-23 | 1 | -1/+3 |
| | |||||
* | Check user doesn't run configure, make or make check as root. | Richard Jones | 2010-04-20 | 1 | -0/+11 |
| | | | | (Thanks to Yufang Zhang for helping to debug this issue). | ||||
* | Document new version numbering policy. | Richard Jones | 2010-04-20 | 1 | -0/+63 |
| | | | | | | | | See discussion on mailing list: https://www.redhat.com/archives/libguestfs/2010-April/msg00005.html https://www.redhat.com/archives/libguestfs/2010-April/msg00057.html https://www.redhat.com/archives/libguestfs/2010-April/msg00058.html | ||||
* | Document umask (RHBZ#582548, RHBZ#583554). | Richard Jones | 2010-04-19 | 1 | -1/+18 |
| | |||||
* | docs: Clarify documentation for mknod (RHBZ#582948). | Richard Jones | 2010-04-19 | 1 | -0/+8 |
| | |||||
* | New APIs: base64-in and base64-out for uploading/downloading base64 content. | Richard Jones | 2010-04-19 | 2 | -1/+17 |
| | |||||
* | New API: debug-upload (not a formal part of the API/ABI). | Richard Jones | 2010-04-19 | 2 | -1/+12 |
| | | | | | | | | | | | | Allow arbitrary files to be uploaded into the appliance, but only when --enable-debug-command is enabled. This lets you run shell scripts, like this: ><fs> debug-upload -<<EOF /tmp/script.sh 0700 #!/bin/sh - # ... EOF ><fs> debug sh "/tmp/script.sh" | ||||
* | fish: Allow -<<END as a syntax for uploading "heredocs". | Richard Jones | 2010-04-19 | 1 | -10/+12 |
| | | | | | | | | | | | | For example: ><fs> upload -<<END /foo some data some more data END ><fs> cat /foo some data some more data | ||||
* | Documentation: Use 'g' instead of 'handle' in documentation. | Richard Jones | 2010-04-17 | 2 | -48/+53 |
| | | | | | By convention we use 'g' for handles. Copy this convention through to all the documentation. | ||||
* | In guestfs(3), unmount "/" directory in the example. | Richard Jones | 2010-04-17 | 1 | -0/+1 |
| | |||||
* | Add compilation/linking example to guestfs(3) man page. | Richard Jones | 2010-04-17 | 1 | -0/+4 |
| | |||||
* | generator: Use shortname in check_state() call. | Richard Jones | 2010-04-17 | 1 | -1/+2 |
| | | | | Saves a tiny bit of space in the library. | ||||
* | Rerun generator if images/test.iso does not exist or has been updated. | Richard Jones | 2010-04-17 | 1 | -1/+4 |
| | | | | | The MD5 hash of this file is embedded in the output of the generator. | ||||
* | Fix upload losing synchronization if root not mounted (RHBZ#576879). | Richard Jones | 2010-04-17 | 1 | -13/+24 |
| | | | | | | | | | | | | Modify the generator so that it can correctly handle early cancellation for Pathname|Device|.. parameters. This fixes the upload command, but consequently we need to fix the parameters for tar_in and t?z_in commands. This should also mean that 'win:' can now be used as the second argument of tar_in and t?z_in commands in guestfish, whereas previously this wouldn't have worked. Adds a regression test for the original problem. | ||||
* | generator: Fix typo in a comment. | Richard Jones | 2010-04-17 | 1 | -1/+1 |
| | |||||
* | Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929). | Richard Jones | 2010-04-17 | 1 | -6/+22 |
| | | | | | | | | | | | chmod: Disallow negative mode, document mode affected by umask. mkdir-mode: Disallow negative mode, document that filesystems may interpret the mode in different ways. mknod: Disallow negative mode, document mode affected by umask. umask: Check the range of umask mask value carefully. | ||||
* | New API: get-umask, returns the current umask (RHBZ#582891). | Richard Jones | 2010-04-17 | 2 | -2/+11 |
| | |||||
* | Add a build test for the 'umask' command. | Richard Jones | 2010-04-17 | 1 | -3/+2 |
| | |||||
* | fish: Print output from some commands in octal/hex as approp. (RHBZ#583242). | Richard Jones | 2010-04-17 | 1 | -5/+33 |
| | |||||
* | Documentation: lvcreate should say 'logical volume' (RHBZ#582953) | Richard Jones | 2010-04-17 | 1 | -2/+2 |
| | |||||
* | New API: Add aug-clear call for clearing an Augeas node. | Richard Jones | 2010-04-13 | 2 | -2/+14 |
| | |||||
* | New API: lvresize-free to extend LVs into percentage of free space. | Richard Jones | 2010-04-12 | 2 | -1/+16 |
| | |||||
* | Documentation updates. | Richard Jones | 2010-04-11 | 1 | -0/+13 |
| | | | | | | | Fix copyright years. Fix URLs to point to new PRC site. Make sure guestfish(1) and guestfs(3) manpages reference the current list of tools. | ||||
* | New API: checksum-device for checksumming devices. | Richard Jones | 2010-04-10 | 2 | -1/+11 |
| | | | | Analogous to the usual 'checksum' call. | ||||
* | New partition APIs: part_del, part_get_bootable, part_get/set_mbr_id | Richard Jones | 2010-04-10 | 2 | -1/+56 |
| | | | | These APIs flesh out further the partitioning API. | ||||
* | Documentation: Clarify documentation on the bootable flag. | Richard Jones | 2010-04-10 | 1 | -4/+3 |
| | |||||
* | New API: vgscan | Richard Jones | 2010-04-10 | 1 | -0/+8 |
| | | | | | Implement vgscan to allow for a full rescan of all LVM PVs, VGs and LVs. | ||||
* | New API: ntfsresize. | Richard Jones | 2010-04-10 | 1 | -0/+8 |
| | | | | | This implements the ntfsresize operation, using the external program from ntfsprogs. | ||||
* | If qemu dies during launch in "null vmchannel" mode, don't hang (RHBZ#579155). | Richard Jones | 2010-04-08 | 1 | -1/+9 |
| | | | | | | Detect if qemu dies during launch by wait(2)-ing for it, and then getting EOF on the qemu pipe. This was broken in null vmchannel mode, causing a hang. | ||||
* | Don't kill self accidentally. | Richard Jones | 2010-04-08 | 1 | -3/+3 |
| | | | | | | Always check that pid > 0 before calling kill (pid, 9). The issue was that sometimes pid == 0, and this ends up killing ourselves. | ||||
* | Fix for "warning: unexpected connection from UID ..." | Richard Jones | 2010-04-08 | 1 | -0/+1 |
| | | | | | | | | This warning is currently a fatal error. The code attempts to retry the accept call, but because we don't reset sock = -1 the retry doesn't happen and it dies anyway. Set sock = -1 so the retry attempt can happen. |