summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.12.9.1.12.9Richard W.M. Jones2011-10-3120-730/+735
|
* perl: Add %guestfs_introspection hash with introspection information.Richard W.M. Jones2011-10-312-2/+132
| | | | | | Because this is a useful introspection API, it is a candidate for being backported into older stable branches. (cherry picked from commit 365885dab2ae6dcdf0b2c45d0adeb803ade03f63)
* fuse: Skip guestmount test if setfacl is not installed.Richard W.M. Jones2011-10-311-0/+5
| | | | | | This dependency is optional, don't fail the test if it's not installed. (cherry picked from commit 7b44f7b3df0b20b2b5e889d89e82a35eed20d43e)
* test-user-cancel: Make this test choose smaller cancellation numbers.Richard W.M. Jones2011-10-312-7/+51
| | | | | | | | | | | | | | | | Use a Gaussian distribution for random numbers so that smaller numbers are chosen more frequently. This also exposes a bug in this test which only happens when small numbers are chosen: If the test thread starts up quickly, it can get to guestfs_user_cancel before the guestfs_upload command has happened in the main thread. This causes the cancel to be ignored (correctly) and we end up in the second loop writing data until the disk runs out of space. Fix this by repeatedly asserting the cancel flag in the second loop. (cherry picked from commit 62909197d120c01cc86095518aacca9d4ad268dd)
* Flush stdout for progress bars used by guestfish, virt-resize.Richard W.M. Jones2011-10-311-0/+1
| | | | (cherry picked from commit 178a6d78a84a82cfddbf17678c8c8c2a9d9d0dd2)
* ocaml: Make sure virt-resize is rebuilt if Guestfs API changes.Richard W.M. Jones2011-10-312-8/+8
| | | | | | | | | Add a dependency so this tool is rebuilt from scratch if the Guestfs API changes. This prevents the error: "[...] make inconsistent assumptions over interface Guestfs". This commit includes the generated changes to .depend files. (cherry picked from commit 663b99950daeaa2b023520aae756a3a28969c493)
* Add test for qemu broken -machine option (RHBZ#748266).Richard W.M. Jones2011-10-312-1/+58
| | | | | | | | Also add this option, if necessary, when testing for virtio-serial support. When the workaround is enabled, we specify machine type 'pc'. (cherry picked from commit 3814680423984b3c46c2f99e944c2a71862bde9f)
* virt-make-fs: Refresh man page.Richard W.M. Jones2011-10-311-36/+38
| | | | (cherry picked from commit e192035bbd6f80262f60565e0a91588848f2a4e3)
* virt-make-fs: Set MBR partition type byte correctly (RHBZ#746295).Richard W.M. Jones2011-10-311-0/+16
| | | | (cherry picked from commit 0c06d740b77fb9225a0e2bd13dc88b0b88ee87cb)
* Allow compilation without hivex (RHBZ#723474).Richard W.M. Jones2011-10-313-96/+97
| | | | (cherry picked from commit f5172902bc9d92451c83dc3c1a85b5aeb975b43a)
* po-docs: Force make update-po on first build from git.Richard W.M. Jones2011-10-312-0/+10
| | | | (cherry picked from commit 9a6e5369b2134a3bd2a6decda48bbf5ac9d7cd41)
* appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)Richard W.M. Jones2011-10-311-0/+5
| | | | (cherry picked from commit fef0ff3d869d2ebdb48eea0c538270fc98f5952d)
* resize: Remove p_size field from partitions structure.Richard W.M. Jones2011-10-311-12/+13
| | | | | | | This field simply contained a duplicate copy of p_part.part_size. There is no functional change in this commit. (cherry picked from commit 9f198956047583e506713a4472117922f8b27b2e)
* Version 1.12.8.1.12.8Richard W.M. Jones2011-10-1920-3038/+3489
|
* inspection: Return root devices sorted.Richard W.M. Jones2011-10-191-0/+11
| | | | (cherry picked from commit c46bedf925cd9c6c9a9cbaee115358fd1dffcbfe)
* inspect: Don't assume number of captures in match functionsMatthew Booth2011-10-191-30/+13
| | | | | | | | | | | | | | | | It is possible for the pcre library to return a variable number of captures for a single regular expression. e.g.: ^/dev/(cciss/c\d+d\d+)(?:p(\d+))?$ This will return either 1 or 2 captures depending on whether the device has a partition suffix. The current match wrappers don't allow for this, and require that a predictable number of matches are returned. This change updates match, match1, match2, and match3 to ignore the specific number of matches returned. Instead, any returned captures are assigned to the given arguments, and any remaining arguments are set to NULL. (cherry picked from commit f5c9f0e9ee1729b1260cef3e51ca91936e1868c4)
* NFC: Remove unnecessary gotoMatthew Booth2011-10-191-7/+5
| | | | | Cherry picked from commit 1f615fddaffd33afc75a582021769583c8f4db4e and backported to libguestfs-1.12 branch.
* launch: Ensure g->cmdline is allocated before assigning g->cmdline[0].Richard W.M. Jones2011-10-191-7/+14
| | | | (cherry picked from commit 138e118d62046b197b715462072256082ecfc0f7)
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | | This isn't really necessary, but it keeps valgrind happy. (cherry picked from commit 2f6ec8b4da27c550e2c7187fd17df28f1bdd51a7)
* Ubuntu 11.10: Create /run and /run/lock if not already.Richard W.M. Jones2011-10-191-0/+1
| | | | | In real machines these directories are a ramdisk. (cherry picked from commit 6d7d645cdd4a9c94c4d95fc52de53c37b88847e4)
* Skip guestmount tests if no /dev/fuse.Richard W.M. Jones2011-10-191-0/+5
| | | | | Cherry picked from commit cf4cc1143393d607a7fb4cdbee1434544237d5d4 and modified for libguestfs-1.12 branch which only has guestmount.
* appliance: Fedora cryptsetup-luks renamed to cryptsetup.Richard W.M. Jones2011-10-191-1/+2
| | | | | Therefore we need both names to be listed in the file. (cherry picked from commit af0c123be8cc62acf9e1368b1d00acccdd6d91e9)
* roadmap: Fix Bugzilla URL.Richard W.M. Jones2011-10-191-1/+1
| | | | (cherry picked from commit db499d98e7a290ccbfc4fb333f85021b23155e9d)
* fish: docs: note how to clean up the remote process properly.Richard W.M. Jones2011-10-191-5/+6
| | | | | | | | Killing it is always a bad idea, because the qemu subprocess will be left hanging around. The best thing is to send the exit command. Cherry picked from commit 11be7d8eee16e6249ed2868b5bd552f29508ec02 and modified.
* fish: Close guestfs handle explicitly before exiting.Richard W.M. Jones2011-10-191-0/+2
| | | | | | | NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler. (cherry picked from commit baa1618e0f917017c1934b7da41250029c1791ef)
* guestmount: Add note to man page about 'fuse' group for Debian.Richard W.M. Jones2011-10-191-0/+9
| | | | (cherry picked from commit e57c3c37a8648966e19ef33832f353d0f9487a77)
* fish: Add man page section on calling guestfish remote robustly from bash.Richard W.M. Jones2011-10-191-0/+32
| | | | (cherry picked from commit 3a546663655abfcd6399d4fdb7febc6b0d83b822)
* Makefile.am: Fix comment.Richard W.M. Jones2011-10-191-1/+2
| | | | (cherry picked from commit c6be95453d66ea714a9813a21cfb224d8e346d9e)
* docs: Add directory section for resize/Richard W.M. Jones2011-10-191-0/+4
| | | | | Based on commit f3341222b37f91d7f7fcdafe30b107ea9da9ad02, but modified since only resize exists in this branch of libguestfs.
* docs: Add virt-resize to list of links in guestfs(3).Richard W.M. Jones2011-10-191-0/+1
| | | | (cherry picked from commit 293772bf7511dee41a1f3e842424678c1a6bf9e4)
* docs: virt-win-reg is written in Perl, not virt-resize.Richard W.M. Jones2011-10-191-1/+1
| | | | (cherry picked from commit b39b3c5c74f1dfb88a6074aac476df877f1bfc4d)
* daemon: mkswap --help output changed, breaking linuxfsuuid group detection.Richard W.M. Jones2011-10-191-2/+7
| | | | (cherry picked from commit 4e9ed018475ff4bd5171ed50a47ffae7abbdda4b)
* daemon: Move useful is_zero function to header file.Richard W.M. Jones2011-10-192-18/+18
| | | | | Code motion. (cherry picked from commit ffc01285ee4289da90983a3320873f27b3d31c4d)
* Add no_timer_check to disable faulty test during boot (RHBZ#502058).Richard W.M. Jones2011-10-191-0/+1
| | | | | | | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=502058#c15 https://bugzilla.redhat.com/show_bug.cgi?id=698842#c8 This updates commit 79e66f89e2f6c27486476d7857da58feb491bf5c. (cherry picked from commit 322106521f546d7c70c5a38255db7d243a456a6b)
* docs: Show how to use a qemu wrapper to edit the qemu command line.Richard W.M. Jones2011-10-191-0/+23
| | | | (cherry picked from commit 3c7b3634b2c86a4c41fec044ccb59a1fe3224e66)
* Version 1.12.7.1.12.7Richard W.M. Jones2011-09-1620-7999/+8819
|
* inspection: Handle /dev/root in /etc/fstab.Richard W.M. Jones2011-09-161-0/+3
| | | | | | | | This means "the device that holds /etc/fstab", so map it correctly. This fixes support for ttylinux and also some other guests that use /dev/root instead of a real device name. (cherry picked from commit 917f947590c92318fee2545ba88245d0de012e31)
* Add an optional group ("grub") for the guestfs_grub_install API.Richard W.M. Jones2011-09-162-6/+35
| | | | | | | | | This also improves the documentation for this call, pointing out several pitfalls in using it. This unfortunately breaks existing callers that might use guestfs_grub_install without checking for this new group. (cherry picked from commit 99624d29226ece1abbbdd921183b360f5f80de91)
* test-tool: Display TMPDIR.Richard Jones2011-09-161-0/+1
| | | | (cherry picked from commit bddde7799b80b8292879634548c3c92a3cc1c044)
* test-tool: Refresh libguestfs-test-tool man page.Richard Jones2011-09-161-12/+24
| | | | (cherry picked from commit cda7fa973cbdd5fc4ad3974dcc6b5ea02ec6bb44)
* test-tool: Make the default timeout be 600 seconds (10 minutes).Richard Jones2011-09-162-4/+3
| | | | | | | We could sometimes hit the 120 second timeout, eg. if the appliance needed to be rebuilt and the machine was very slow and/or under heavy I/O load. 10 minutes should be enough for any reasonable situation. (cherry picked from commit 912284b02e28bd63bdf3397ef841b9782adfd2cd)
* test-tool: Document the -t command line option.Richard Jones2011-09-161-0/+2
| | | | (cherry picked from commit 95136b149212b92e87d0c9badb7d6849a084ed4d)
* test-tool: Use B<...> for command line options in man page.Richard Jones2011-09-161-4/+4
| | | | (cherry picked from commit c7b88da039725ecd0d1d826b112bc69b518d4c78)
* po-docs: Make podfiles sort stable.Richard Jones2011-09-161-1/+1
| | | | (cherry picked from commit 7c521c7211d61a1bac46c155de1f4d3e8b60b3d7)
* Stable OCaml dependencies.Richard Jones2011-09-164-8/+15
| | | | (cherry picked from commit cbef2ffb0432756822cd2b02a305384f814e9b50)
* docs: Add a section explaining the appliance boot process.Richard W.M. Jones2011-09-161-0/+93
| | | | (cherry picked from commit b3f1457fddd19b1e540866fa01c665aeb371cb44)
* Version 1.12.6.1.12.6Richard W.M. Jones2011-09-0120-72/+72
|
* 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. (cherry picked from commit 8ab2b85b2a67270b8cc5a91bb62a70c84cd6a02c)
* debian: Missing build dependency on db4.8-util.Richard W.M. Jones2011-09-011-1/+3
| | | | (cherry picked from commit 8928de32d391e3ad4dd98bb27472c27bb8bc38ac)
* debian: Build libguestfs-ocaml and libguestfs-ocaml-dev subpackages.Richard W.M. Jones2011-09-017-2/+65
| | | | (cherry picked from commit 1d134301fc4d05338d09517abc978d0a90d82e09)