summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* test-tool: Document the -t command line option.Richard Jones2011-09-141-0/+2
|
* test-tool: Use B<...> for command line options in man page.Richard Jones2011-09-141-4/+4
|
* po-docs: Make podfiles sort stable.Richard Jones2011-09-121-1/+1
|
* Stable OCaml dependencies.Richard Jones2011-09-124-9/+15
|
* docs: Add a section explaining the appliance boot process.Richard W.M. Jones2011-09-071-0/+93
|
* Version 1.13.11.1.13.11Richard W.M. Jones2011-09-0118-28/+28
|
* Remove old regression test that mainly tested a buggy API.Richard W.M. Jones2011-09-012-44/+0
| | | | | | The guestfs_ll command currently lists files in the appliance if you prefix filenames with "/..". However this is a bug, not a feature, and we should not be testing it.
* debian: Missing build dependency on db4.8-util.Richard W.M. Jones2011-09-011-1/+3
|
* daemon: Factor out name of virtio serial channel.Richard W.M. Jones2011-09-011-3/+5
| | | | This is just code motion.
* Create /sys directory if it doesn't exist already.Richard W.M. Jones2011-09-011-0/+1
| | | | Ubuntu 10.04 LTS packages don't create /sys.
* Version 1.13.10.1.13.10Richard W.M. Jones2011-08-2820-222/+289
|
* cat: Small documentation correction.Richard W.M. Jones2011-08-281-2/+1
|
* inspector: Use xmlstarlet instead of xpath in examples.Richard W.M. Jones2011-08-271-8/+12
|
* man pages: Add a standard EXIT STATUS section to most pages.Richard W.M. Jones2011-08-2710-2/+42
|
* Version 1.13.9.1.13.9Richard W.M. Jones2011-08-2619-1886/+2174
|
* progress: Make default UTF-8 progress bar less black.Richard W.M. Jones2011-08-261-1/+1
|
* resize: Add --machine-readable option for machine friendly output.Richard W.M. Jones2011-08-265-23/+109
|
* progress: Add machine readable flag.Richard W.M. Jones2011-08-262-13/+26
| | | | | | | | Machine-readable progress bars look like: 0/100 1/100 2/100
* resize: Use guestfish progress bar mini-library.Richard W.M. Jones2011-08-266-27/+165
| | | | | | | | There are two benefits: - the progress bars look better - there is a reasonably accurate estimate of how long each operation will take
* Add GUESTFS_EVENT_ENTER event.Richard W.M. Jones2011-08-264-5/+33
| | | | This event is generated whenever a libguestfs function is called.
* fish: Make progress bars into a mini library.Richard W.M. Jones2011-08-266-165/+207
| | | | This library could now be called from other virt tools.
* fish: clarify comment: shared source files are used by virt tools too.Richard W.M. Jones2011-08-261-3/+3
|
* Version 1.13.8.1.13.8Richard W.M. Jones2011-08-2618-26/+26
|
* ruby: Check Ruby callback exists before we call it (RHBZ#733297).Richard W.M. Jones2011-08-261-6/+14
|
* ruby: Use a regular C array to pass the arguments through rb_rescue.Richard W.M. Jones2011-08-251-18/+17
|
* ruby: Append newline character after printing exception in callback.Richard W.M. Jones2011-08-251-1/+1
|
* python: Newer versions want parentheses around arguments of "print"Hilko Bengen2011-08-241-2/+2
|
* python: Don't build static libraryHilko Bengen2011-08-241-1/+1
|
* Version 1.13.7.1.13.7Richard W.M. Jones2011-08-2318-363/+393
|
* php: Fix bug in PHP tests.Richard W.M. Jones2011-08-231-2/+2
| | | | | | | | | | We partitioned the disk, and then tried to create a PV on the whole disk. LVM gave the error: Device /dev/vda not found (or ignored by filtering). It is unclear how this bug persisted for so long. It might be due to a change in LVM.
* Coverity: fix memory leak along error path.Richard W.M. Jones2011-08-231-0/+12
|
* Coverity: Initialize msg buffer.Richard W.M. Jones2011-08-231-0/+2
| | | | | msg_flags was not being initialized and would have been passed to sendmsg with a random value.
* Coverity: fix memory leak in guestfish.Richard W.M. Jones2011-08-231-2/+1
|
* Coverity: in daemon, free struct in RStruct, RStructList functions.Richard W.M. Jones2011-08-231-0/+2
|
* pclose: Fix other places where we only tested pclose == -1.Richard W.M. Jones2011-08-234-4/+4
| | | | pclose can return > 0 when the status of the command was non-zero.
* test_qemu: Improve the error message.Richard W.M. Jones2011-08-231-1/+2
| | | | | Note that errno is probably not set to a useful value here, so there is not much point recording it.
* test_qemu: pclose may return any != 0 on error.Richard W.M. Jones2011-08-231-1/+1
| | | | In particular pclose returns a status > 0 if the command fails.
* qemu detection: Free up previous qemu help/version strings if they exist.Richard W.M. Jones2011-08-231-0/+5
|
* Coverity: test_qemu: Ensure FILE * is not leaked along error paths.Richard W.M. Jones2011-08-231-15/+21
| | | | | This refactors the code in test_qemu slightly to ensure that FILE *fp is not leaked on error paths.
* Coverity: Check guestfs_inspect_get_product_name() != NULL before using.Richard W.M. Jones2011-08-231-1/+1
|
* rescue: Ignore errno after guestfs_launch.Richard W.M. Jones2011-08-231-10/+0
| | | | | | | errno is pretty much random on the error path back from guestfs_launch so there is nothing useful to be gained by checking it. We could do with a better way to detect if appliance launch failed.
* Coverity: Ignore return value from guestfs_launch in virt-rescue.Richard W.M. Jones2011-08-231-1/+4
| | | | We expect guestfs_launch to fail in this program.
* Coverity: Check return value from sscanf in bindtests calls.Richard W.M. Jones2011-08-231-5/+22
|
* autobuild: Only add last 100 lines of the log file.Richard W.M. Jones2011-08-201-4/+13
|
* New autobuild script.Richard W.M. Jones2011-08-203-96/+104
| | | | | | | Remove the old top-level autobuild.sh that confused a lot of people. Add an autobuild.sh script that builds from the latest tarball.
* configure: Add --with-extra flag to allow setting the extra version string.Richard W.M. Jones2011-08-191-9/+19
| | | | | | | Intended use in Fedora and RHEL is to encode the release string, eg. ./configure [...] --with-extra="-%{release}"
* Version 1.13.6.1.13.6Richard W.M. Jones2011-08-1918-341/+344
|
* protocol: Fix case where download can fail for small files.Richard W.M. Jones2011-08-182-6/+26
| | | | | | | | | | | | | There is another case where downloads of small files could fail if the library side (writer) fails. In this case the library would send back a cancellation, but it would be received after the daemon had finished sending the whole file (because the file is small enough). The daemon would reenter the main loop and immediately get an unexpected cancel message, causing the daemon to die. This commit also makes test-cancellation-download-librarycancels.sh more robust. We use Monte-Carlo testing with a range of file sizes. Small file sizes should trigger the error case.
* Escape special/non-printing characters in debug output (RHBZ#731744).Richard W.M. Jones2011-08-181-12/+42
| | | | | | | | | | | | | | | | | | The default event handler in libguestfs was simply writing all debug output directly to stderr. However if the output contains non-printable characters such as terminal control codes then these would also be sent directly. With newer SeaBIOS there is a lame attempt to implement a splash screen using terminal control codes, thus when libguestfs tries to display debugging output it would cause the screen to clear and debug output to be lost. This commit causes all non-printing characters to be escaped. (\n and \r characters from the appliance are treated somewhat specially). Furthermore, instead of using write(2), use buffered stderr calls.
* Remove guestfs___print_timestamped_argv.Richard W.M. Jones2011-08-183-48/+90
| | | | | | | | | | | | | | | | | | | | | | | This function was used to print the qemu and febootstrap-supermin-helper command lines. Unfortunately in the qemu case it was used incorrectly: it called the internal debug function (ie. event API callback) from the forked qemu subprocess, which meant that higher level event callbacks might have been invoked from the child process. To fix this, convert the qemu case into a new function called print_qemu_command line which just prints the command line directly to stderr. This is called after stderr has been redirected into the pipe to the main process. Thus the qemu command line will be marshalled into the event API along with other qemu and appliance output. After fixing this, only one use of guestfs___print_timestamped_argv remained, for printing the febootstrap-supermin-helper command line. This is converted to a local function print_febootstrap_command_line. Also print_febootstrap_command_line is now called before we fork febootstrap-supermin-helper, so that messages no longer overlap.