summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: Remove unused headers <arpa/inet.h> and <netinet/in.h>Richard W.M. Jones2012-09-192-4/+0
| | | | | | These were used back in the day when we used TCP for the communications channel with the guest. (cherry picked from commit 8747ff743216fbb6119606c22966e2283f30a54a)
* syntax: Remove HAVE_*_H tests which are always true.Richard W.M. Jones2012-09-193-42/+7
| | | | | | | Gnulib supplies replacements for these headers, so there is no need to test. (cherry picked from commit dec73f70fc5320faec46a21f27aae6748cea3450)
* perl: Add <stdio.h> and <stdlib.h> for printf and malloc.Richard W.M. Jones2012-09-191-0/+2
| | | | (cherry picked from commit cd8976a5b52425f9d7c45249e1a593a341d91c52)
* perl: Include <inttypes.h> and assume it always defines PRId64 and PRIu64.Richard W.M. Jones2012-09-191-8/+2
| | | | | | | If these are not defined in the header files, it's a problem on the platform which we should fix with gnulib. Our replacement definitions might be wrong here. (cherry picked from commit 188b44ee458a666bee8a18ed47cccdec25859aff)
* lib: These optargs structures are not modified, hence const.Richard W.M. Jones2012-09-191-3/+3
| | | | (cherry picked from commit 5a46eadd3dcab1b8944eabc0f21097048e0ebe13)
* syntax: Remove test for TAB indentation.Richard W.M. Jones2012-09-191-8/+0
| | | | | | Nothing particularly wrong with using TABs for indentation, and this test also has a lot of false positives. (cherry picked from commit ae137124ca143e57f16d103f24cb3f21a3157b09)
* docs: Fix documentation of syntax-check target, add extra-tests.Richard W.M. Jones2012-09-191-2/+7
| | | | (cherry picked from commit 6951becfdb0b69b4defff4393f48314e884ad7c1)
* faq: Make the legal section less unnecessarily legalistic.Richard W.M. Jones2012-09-191-6/+7
| | | | (cherry picked from commit 244e9a2ac40fa8a1494f769740947c8a600ee8d7)
* faq: Tidy up headings.Richard W.M. Jones2012-09-191-12/+16
| | | | (cherry picked from commit 19da851610fc14b547ff9e25101921f69edc7f2f)
* faq: Add more answers about read-only disks.Richard W.M. Jones2012-09-191-0/+35
| | | | (cherry picked from commit 2c59af77545c764ddded93af2c0a0611be79376e)
* test-tool: Print more environment variables.Richard W.M. Jones2012-09-191-7/+18
| | | | | | This prints LIBVIRT_*, LIBVIRTD_*, LD_* and PATH, since these are all useful for debugging and could affect libguestfs in some way. (cherry picked from commit 281b155800f2e62b994e59bef418ca200da8e93a)
* fish: Replace '_' with '-' in deprecation cross-refs (thanks Olaf Hering).Richard W.M. Jones2012-09-192-3/+5
| | | | (cherry picked from commit 8acdc23622ea95a233ac831d67c143517aa94bba)
* extra-tests: Don't use $QEMU as a variable.Richard W.M. Jones2012-09-182-6/+13
| | | | | | | Since 'QEMU' is set (overwritten) by the autoconf-generated Makefile, this test would always test installed qemu, not upstream qemu, making it pretty useless. Use another name for this variable. (cherry picked from commit 81c682f1295a934d18bd4dc9e42b8e843df0c207)
* fix fuse_opt_add_opt_escaped return typeOlaf Hering2012-09-181-1/+1
| | | | | | | | | | | I: Program returns random data in a function E: libguestfs no-return-in-nonvoid-function guestmount.c:75 The function fuse_opt_add_opt_escaped has only one caller and a return code is not checked. Signed-off-by: Olaf Hering <olaf@aepfle.de> (cherry picked from commit bdb5689f58c0db18de28d6a703b3af4f22eded38)
* rescue: If -v / debugging enabled, don't mask error messages.Richard W.M. Jones2012-09-181-1/+2
| | | | | | | | | We set the error handler to NULL in order to mask "normal" error messages that we expect to see because of the unusual way that virt-rescue runs the appliance. However if the user selected -v / enabled debugging, then it is reasonable to expect they want to see every message, so do not mask anything. (cherry picked from commit 6fdf1f40fa85d2e6e7a1118f4cfa532ea9831b89)
* java: Fix >= 32 optargs (thanks Wanlong Gao).Richard W.M. Jones2012-09-181-1/+1
| | | | (cherry picked from commit f65dee769d1fc53c5963c381bf8a1bf02654f78c)
* recipes: Checksum file/device. Download to stdout.Richard W.M. Jones2012-09-181-0/+26
| | | | (cherry picked from commit b799bc58a84e155783afae23f64f27e23ddd06dd)
* tests: Attach copyright and license (GPLv2+) notices to various test scripts.Richard W.M. Jones2012-09-187-0/+112
| | | | | For some reason these tests did not have license notices. (cherry picked from commit a1d981edeae120a0523d0974c703f1a956202415)
* src/dbdump.c: Shouldn't depend on HAVE_HIVEX (thanks Tao Zhou).Richard W.M. Jones2012-09-181-2/+2
| | | | (cherry picked from commit 4e6bf1ed653540a8954a6a11fe5a0fb424013af9)
* Version 1.18.7.1.18.7Richard W.M. Jones2012-08-3020-24686/+23112
|
* FAQ: Remove link to old RHEL 6.3 preview repo.Richard W.M. Jones2012-08-301-3/+2
| | | | (cherry picked from commit 8af32b9d5fa0601fabffd9550f1cdc97ac78306a)
* lib: Remove AUGEAS_CFLAGS, AUGEAS_LIBS.Richard W.M. Jones2012-08-301-2/+2
| | | | | | | The library doesn't actually use libaugeas, except indirectly via the libguestfs API. The libguestfs API implements this in the daemon, so there's no need for the library to link to augeas at all. (cherry picked from commit 228d49bb842cda517b414bbfab460e8be429cc5f)
* java: Further java/java-home fixes.Richard W.M. Jones2012-08-304-6/+6
| | | | | | | | In particular the JVM executable is now called $JAVA_EXE. This fixes commit 40b9c14ca9af3b31ea1cf5336142d63313bbae39. (cherry picked from commit 684efb3706795bdd8cb0d4c026067fb4d70e23d1)
* perl: bindtests: Fix 64 bit integers on input on 32 bit Perl interpreter.Richard W.M. Jones2012-08-303-5/+30
| | | | (cherry picked from commit 15cd9dde5e0e4a7d510de71ef8991750971cf6d1)
* Fix Java detection and rename --with-java-home to --with-java.Wulf C. Krueger2012-08-301-53/+53
| | | | | | | | Without this patch, if JAVAC points to a valid executable, --with-java-home=no is not respected but the build simply fails. Furthermore, --with{,out}-java is a more common form and more in-line with all other options. (cherry picked from commit 40b9c14ca9af3b31ea1cf5336142d63313bbae39)
* Fix disabling the Perl bindings.Wulf C. Krueger2012-08-301-1/+1
| | | | | | | | --disable-perl isn't currently respected because $PERL correctly points to the perl executable and $missing_perl_modules doesn't prevent the perl parts to be installed either. Thus, a check for $enable_perl is needed. (cherry picked from commit cab48ce73cb19b1aa8784e6c6a3cb8f47b0cbc0e)
* po-docs: Copy all *.1 and *.3 files to the install dir.Richard W.M. Jones2012-08-302-8/+4
| | | | (cherry picked from commit 512f21c965c5d4bf1faf922d6a241c397f703e67)
* UPDATE PO-DOCS LIST OF MAN PAGESRichard W.M. Jones2012-08-302-2/+0
|
* po-docs: Update the list of man pages.Richard W.M. Jones2012-08-302-16/+52
| | | | (cherry picked from commit 67a803e1f28ef0ba7549ef71cd5a094dabf962a7)
* po-docs: Fix podwrapper so it works on translated POD files.Richard W.M. Jones2012-08-303-21/+72
| | | | | | | | | | These don't contain literal strings like "AUTHORS" (they have the translated versions instead) and so checking for these English strings is rather useless. Also we don't usually have the '--license' parameter conveniently around so don't enforce this section. (cherry picked from commit ddc67d94f37ca4e942cb385d4e5ec476766fef12)
* po-docs: Don't output translated virt-sysprep page as HTML.Richard W.M. Jones2012-08-302-4/+2
| | | | (cherry picked from commit 540fbfcf34089e2baeea9c94a850cdea0c0db903)
* tools: Fix podwrapper errors in tools directory.Richard W.M. Jones2012-08-306-94/+2
| | | | | | | | This also makes the test for license "code" less strict, so it should only match POD, not Perl comments. This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4. (cherry picked from commit 23b7fe09e1589c3c9ca5f52a9588ad1c73649b14)
* Mac OS X: Fixed combination of running autogen.sh on Linux and building on ↵Masami HIRATA2012-08-301-0/+1
| | | | | | | Mac OS X Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 0a275bd090850963f331a115a4fadfbf1dfb1caf)
* podwrapper: Ignore $parser->html_charset if it fails (thanks Wulf C. Krueger).Richard W.M. Jones2012-08-301-1/+2
| | | | | | This method was added in Pod::Simple 3.16 so earlier versions of Perl won't have it. It's not the end of the world if we don't set it. (cherry picked from commit d555a68ca6475bbb6f7f60ae1bdcdffa99df351f)
* daemon: Call udev_settle after mkswap.Richard W.M. Jones2012-08-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This adds a call to udev_settle after creating the swap device. This is an attempt to workaround the following problem seen in Koji and Rawhide: libguestfs: trace: mkswap_L "swapit" "/dev/sda1" libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 00 | ... guestfsd: main_loop: proc 210 (part_disk) took 2.28 seconds guestfsd: main_loop: new request, len 0x44 mkswap -f -L swapit /dev/sda1 libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 01 | 00 12 37 cf | ... libguestfs: trace: mkswap_L = 0 libguestfs: trace: swapon_label "swapit" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 00 | ... guestfsd: main_loop: proc 131 (mkswap_L) took 0.77 seconds guestfsd: main_loop: new request, len 0x34 swapon -L swapit swapon: cannot find the device for swapit guestfsd: error: swapit: swapon: cannot find the device for swapit libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 01 | 00 12 37 d0 | ... libguestfs: trace: swapon_label = -1 (error) swapon_label: swapit: swapon: cannot find the device for swapit test_swapon_label_0 FAILED
* docs: Use man page name as default title in HTML output.Richard W.M. Jones2012-08-301-0/+5
| | | | (cherry picked from commit c638e1f03d2700560fe32c0889224ac29bd52334)
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-3024-0/+155
| | | | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed. (cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-3032-528/+17
| | | | | | | | | | | | section. Ensure each man page contains consistent COPYRIGHT and AUTHOR sections. Remove the LICENSE section. We will add that back in podwrapper in a later commit. (cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
* podwrapper: Ensure the input file is printed in some error messages.Richard W.M. Jones2012-08-301-3/+3
| | | | (cherry picked from commit e89e180d2b1ee7c3a452a327a336dd3facd2a51f)
* docs: Document null disks.Richard W.M. Jones2012-08-302-0/+64
| | | | | | It's always been possible to use /dev/null as a disk image. Document this formally in the API. (cherry picked from commit e1e8b3a1cfdeee34fbd51f79b8724c5a58f25c10)
* FAQ: Re-add #backup anchor for section on backups.Richard W.M. Jones2012-08-301-0/+7
| | | | (cherry picked from commit 984044043dc423687862fe2058b43786ab4acf1a)
* recipes: Update dumping filesystem content to mention that we now support ↵Richard W.M. Jones2012-08-301-1/+1
| | | | | | MD/RAID. (cherry picked from commit 52e38c7bdc293cb2f2531eab3dde6d569a05b5e9)
* recipes: Refer to virt-format, virt-make-fs for creating disk images.Richard W.M. Jones2012-08-301-1/+7
| | | | (cherry picked from commit 1e4c6e36a6d122b4615dc509ef745dde7e37321d)
* recipes: Cloning Windows: plans for virt-sysprep.Richard W.M. Jones2012-08-301-10/+10
| | | | (cherry picked from commit 5f234548ed07b8e41a31462290aae3ea842630c2)
* recipes: For auditing for setuid files, point to virt-ls examples.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 9fd4d16819ad200814be717732c77664e18132f2)
* recipes: For sparsifying guests, point to virt-sparsify.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 0d2e70b1c71dba01f71a4375eb10b83059a41bb2)
* recipes: For listing files, point to virt-ls.Richard W.M. Jones2012-08-301-3/+1
| | | | (cherry picked from commit d944a491ac3aa9b9ed1bcdc0ee378519a367276a)
* recipes: Most guests now use grub2, so change the example.Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 87cf749cde7b9ecdfd95d0b4cac939a2be767fd7)
* recipes: Add a section on deleting a file and other common file operations.Richard W.M. Jones2012-08-301-0/+18
| | | | (cherry picked from commit 10d48bef3055e1b7177b4f8df52133c50484a87a)
* recipes: Update cloning section.Richard W.M. Jones2012-08-301-10/+5
| | | | (cherry picked from commit 1454751b731ff3a448cc5b5b46f4cbc1fc2f66d0)