summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fish: Make '-x' option enable traces instead of using separate echo path.Richard Jones2010-05-142-9/+7
| | | | | | | | | | | Previously we had separate code paths for echoing commands (-x) and tracing (guestfs_set_trace). This just unifies that so that the guestfish -x option enables tracing. (cherry picked from commit 8e007581c91a5193e6aec0f6f9aeb379a935c9d4 and commit a96d70113ffcd01f55262c3d0fbe711bee759fec and commit 87eecb507ee09a62f3a12f5f75d3417a09c0c8d4 which are all logically part of the same fix)
* daemon: gnulib module 'error' is used directly by the daemon.Richard Jones2010-05-141-0/+1
| | | | (cherry picked from commit b52ef0b021fc443d88d4d9c43f57468712e40965)
* If qemu dies during launch, set an error message (RHBZ#588851).Richard Jones2010-05-141-4/+11
| | | | (cherry picked from commit fc6dd9daa13ac774156d0822b5aa7830171feb85)
* daemon: Fix read-file so it fails gracefully for large files (RHBZ#589039).Richard Jones2010-05-143-9/+32
| | | | | | | | | | | | | | | | | 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. (cherry picked from commit 42f59b28f123f53ae038df23a9abee08e959e46b)
* Warn instead of dying if grub refers to non-existent kernelMatthew Booth2010-05-141-2/+8
| | | | (cherry picked from commit 4839d5142ca50818965866287932f9ded14729e6)
* Change network configuration to use macros.Richard Jones2010-05-142-9/+34
| | | | | | | | | | | | | | 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. (cherry picked from commit 8a9f2ca65521d093ac14307aca4370d9497ac840)
* tests: In verbose mode, print dashes between each test.Richard Jones2010-05-141-0/+2
| | | | | | Only affects tests when run with LIBGUESTFS_DEBUG=1. Lets you easily see when each test starts and ends. (cherry picked from commit 097266e01cfa28319834bf750649650f3c22006f)
* Version 1.2.51.2.5Richard Jones2010-04-3013-14/+14
|
* Document that guestfs_mount implies -o sync and performance problem ↵Richard Jones2010-04-301-3/+14
| | | | | | (RHBZ#587582). (cherry picked from commit fd2d10d6ed91f417a9b99bb61526b45bb7ed3e4e)
* contrib: Add dependency diagram of libguestfs ecosystem.Richard Jones2010-04-304-0/+128
| | | | (cherry picked from commit 90b4e24df6f27c02d3b11d8021b27a197cf18b75)
* contrib: Add header to README file.Richard Jones2010-04-301-0/+3
| | | | (cherry picked from commit 2f9f3375028a02fdaec62f30e11bacd6524a342c)
* lvresize: Use --force so it can make LVs smaller (RHBZ#587484).Richard Jones2010-04-302-2/+9
| | | | | This also adds a regression test for this bug. (cherry picked from commit c24de46d06cc3ecccf00bfaaffb06172659cdd0a)
* tools: Fix documentation for CurrentControlSet (thanks Yuval Kashtan).Richard Jones2010-04-301-2/+17
| | | | (cherry picked from commit 25c15261253bbd2fb140e5ca1c902acf714f76a9)
* guestfs(3): Documentation on protocol gotchas.Richard Jones2010-04-301-0/+17
| | | | (cherry picked from commit 55641f5d1e9964f8a039005b511b8e688c92cddb)
* docs: Routine refresh of the documentation for guestfs(3) and guestfish(1).Richard Jones2010-04-302-103/+118
| | | | | | | For stable branch: - cherry picked from commit ce95be8b185ce69 - updated the patch so it doesn't refer to any new guestfish features in the 1.3 branch
* Version 1.2.41.2.4Richard Jones2010-04-2313-14/+14
|
* todo docs: Discuss shrinking filesystems and specifying sizes in guestfish.Richard Jones2010-04-231-0/+17
| | | | (cherry picked from commit 7c285ea84f63e511f95a3c8bfbb98cbf99b9466b)
* daemon: Split out checksum type to program name mapping into function.Richard Jones2010-04-231-15/+23
| | | | | | | This shouldn't change the semantics of the program. For stable-1.2 this was cherry picked from commit af29c84 and rebased against the older code in daemon/checksum.c.
* todo docs: Integrate with host intrusion detection systems.Richard Jones2010-04-231-0/+12
| | | | (cherry picked from commit 6e269c6e5123c1558589e0a59844dc0187fbd63a)
* todo docs: Mapping filesystems to and from disk blocks.Richard Jones2010-04-231-1/+11
| | | | (cherry picked from commit 2ed549e95c7ad75f28b5f0dd4c53849e1607444e)
* fish docs: Be consistent about using I<-..> for options.Richard Jones2010-04-221-4/+4
| | | | (cherry picked from commit 89486c50eaeb8b1cc5a6ff388cb47e859f8565d1)
* fish docs: Use L</...> for internal links in the man page.Richard Jones2010-04-221-6/+6
| | | | (cherry picked from commit e3e67f63b0a6ce952ba92cb966b8ac5ef239dcf9)
* Whitelist the loop kernel moduleMatthew Booth2010-04-221-0/+2
| | | | | loop is sometimes a module, for example on RHEL 5. (cherry picked from commit 75d9c056b2db9ceedef9eca64e67ad3350eabad8)
* Don't die during inspection if rpm -qa or dpkg-query failsMatthew Booth2010-04-221-8/+20
| | | | | | If a problem in the package database prevented package enumeration from working, inspection would die. This change makes it emit a warning and continue. (cherry picked from commit 39416cdb11bb2005915ed293eafb3cc6d714416d)
* Don't die during inspection if initrd doesn't existMatthew Booth2010-04-221-1/+1
| | | | | | This fixes a problem where inspection would die if grub.conf referenced a non-existent initrd. Just return an empty initrd instead. (cherry picked from commit 2b43970c8c97f24b1f45c040c6963d30661fa514)
* Remove checks for Test::Pod and Test::Pod::Coverage.Richard Jones2010-04-221-1/+1
| | | | | | | | Although these modules are optionally used by the Perl tests, they aren't necessary and won't break the build if they are not there. These modules aren't available in RHEL 5. Therefore remove these checks. (cherry picked from commit c8f302a17453ad58acccd137342438795763606a)
* Check user doesn't run configure, make or make check as root.Richard Jones2010-04-222-0/+22
| | | | | (Thanks to Yufang Zhang for helping to debug this issue). (cherry picked from commit 199f218bf431b77c12a728f7072bed1553a0f0af)
* Replace 'dd' in tests with use of guestfish 'sparse' command.Richard Jones2010-04-223-6/+5
| | | | | | | | 'dd' is a very inefficient way to create files. 'truncate' is better, but unfortunately that command is not available in RHEL 5. So use the guestfish 'sparse' command instead (which also avoids allocating disk space). (cherry picked from commit 175c01d2336c07113f1c2966966957de5c344e3a)
* Document new version numbering policy.Richard Jones2010-04-221-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 (cherry picked from commit 54a8f8f30de2f3132da97c54d07ca4639c405de1)
* Update PO files.1.2.3Richard Jones2010-04-2012-420/+479
|
* Prepare for 1.2.3.Richard Jones2010-04-201-1/+1
|
* Document umask (RHBZ#582548, RHBZ#583554).Richard Jones2010-04-201-1/+18
| | | | (cherry picked from commit c2a8efc548d6f997049cbb3d63bab360b0d946b6)
* docs: Clarify documentation for mknod (RHBZ#582948).Richard Jones2010-04-201-0/+8
| | | | (cherry picked from commit 42e43db927dac13da0afe6dba39708295eb06021)
* docs: Add virt-resize(1) link to guestfish(1) manpage.Richard Jones2010-04-201-0/+1
| | | | (cherry picked from commit 92d38b9ae3a0b1b4694da5e3d3a3cb155842cd91)
* todo documentation: Idea: List, mount filesystems by UUID and label.Richard Jones2010-04-201-1/+13
| | | | (cherry picked from commit e55400960a6a06eb6dc16ea96f3c30ed580d3d3a)
* todo documentation: remove 'virt-grow/shrink', see virt-resizeRichard Jones2010-04-201-7/+0
| | | | (cherry picked from commit abb7365d4df7b945846a9f6189bbbd70e10122d1)
* todo documentation: virt-rescue now uses $TERM from library, remove from ↵Richard Jones2010-04-201-6/+0
| | | | | | todo list (cherry picked from commit 398e6830a34e916c52cd23ba6d0b4c00602dfc61)
* todo documentation: Remove old section on PPC bugs.Richard Jones2010-04-201-17/+0
| | | | | | No one cares for PPC, and if they do they should file these as bugs in the bug tracker. (cherry picked from commit 3b759fe7fe568a3d643ee99e0aef0adaf163d1e5)
* todo documentation: Remove old ideas for Python bindings.Richard Jones2010-04-201-6/+0
| | | | (cherry picked from commit fc50bf2680d4ed653ff00d390cd7a17ebeb22cf2)
* Documentation: Use 'g' instead of 'handle' in documentation.Richard Jones2010-04-202-48/+53
| | | | | | By convention we use 'g' for handles. Copy this convention through to all the documentation. (cherry picked from commit 2e0f3ed54b978925c79ca0d33e76bec338b23631)
* In guestfs(3), unmount "/" directory in the example.Richard Jones2010-04-201-0/+1
| | | | (cherry picked from commit 6e4bf8e278f5c8bd28eba7152d2f11d1e537ee1b)
* Add compilation/linking example to guestfs(3) man page.Richard Jones2010-04-201-0/+4
| | | | (cherry picked from commit 4680c732585b2c2d292f521f393215c7943096fa)
* Build top-level directories in a more logical order.Richard Jones2010-04-201-14/+20
| | | | (cherry picked from commit 09a0427448b1f4328b9246d4d8a26610bb5228c8)
* generator: Fix typo in a comment.Richard Jones2010-04-201-1/+1
| | | | (cherry picked from commit 68467cb1c2f8b1cc7844ed6512b7f76ef2aba1d1)
* Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929).Richard Jones2010-04-205-6/+42
| | | | | | | | | | | | 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. (cherry picked from commit 61ab83d19009a8006dd73ebe16d22494b78be4d1)
* fish: Autocomplete 'sparse' command (RHBZ#582899).Richard Jones2010-04-201-0/+1
| | | | | | I also rechecked the list of built-in commands against the actual commands to make sure no others were omitted. (cherry picked from commit 42fc0e02b094ef3b19dae115276a0a33116af6d5)
* Add a build test for the 'umask' command.Richard Jones2010-04-201-3/+2
| | | | (cherry picked from commit 116d497c68c2e57f6e92abf8834112a794a145f0)
* Documentation: lvcreate should say 'logical volume' (RHBZ#582953)Richard Jones2010-04-201-2/+2
| | | | (cherry picked from commit e64c1e5aacd605ea177972e56ede5be22ae13d4f)
* Fix build error in fuse/guestmount.c.Matthew Booth2010-04-141-0/+1
| | | | | | | | | guestmount.c: In function 'main': guestmount.c:899: error: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration] guestmount.c wasn't including locale.h. (cherry picked from commit c0d73e0e60b99b87855364ff346551f5ff7efccb)
* fish: Allow '-' prefix on command line to override exit on error (RHBZ#578407).Richard Jones2010-04-143-2/+57
| | | | | | | | | | | | | | | | Allow -cmd on the command line to mean that normal exit on error behaviour is overridden, ie. we will not exit. This allows you to do: guestfish -- command : -command : command with the second command allowing errors. (Note that '--' is required to stop getopt parsing -command as an option). Also this fixes the remote case which is what the original bug report was about. (cherry picked from commit ad752b80d7fa064b7bdd3d4c8d47c95d79265b58)