summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* daemon: Remove e2prog hack (only needed for RHEL 5).Richard W.M. Jones2012-08-304-110/+18
| | | | Instead this patch will be carried out of tree in the oldlinux branch.
* Version 1.19.36.1.19.36Richard W.M. Jones2012-08-3020-11909/+12466
|
* launch: libvirt: Remove code for creating sockdir.Richard W.M. Jones2012-08-301-107/+8
| | | | | | Create the sockets in g->tmpdir as usual. It's a bug in libvirt that it doesn't label the sockets correctly no matter where they are located.
* launch: libvirt: Avoid memory leak if sockdir is not created (found by ↵Richard W.M. Jones2012-08-301-0/+2
| | | | valgrind).
* FAQ: Remove link to old RHEL 6.3 preview repo.Richard W.M. Jones2012-08-301-3/+2
|
* NEW API:xfs:xfs_repairWanlong Gao2012-08-305-3/+156
| | | | | | | | | | Add a new api xfs_repair for repairing an XFS filesystem. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Fix non-error return path so it doesn't send two replies. - Document return code.
* docs: Add guestfs-release-notes.txt to Makefile deps.Richard W.M. Jones2012-08-301-1/+1
|
* tests/big-dirs: Don't run this test by default.Richard W.M. Jones2012-08-301-5/+6
|
* run: Make --test flag print the time taken to run the test.Richard W.M. Jones2012-08-291-11/+16
| | | | | This is useful because it lets us see which tests take the longest.
* Version 1.19.35.1.19.35Richard W.M. Jones2012-08-2921-21780/+25965
|
* python: Convert OInt64 using PyLong_AsLongLong so 64 bit ints work correctly.Richard W.M. Jones2012-08-291-1/+1
| | | | | | This avoids the following error on 32 bit machines: OverflowError: Python int too large to convert to C long
* Update inspection and example programs to use new hivex* APIs (RHBZ#852394).Richard W.M. Jones2012-08-2912-427/+163
| | | | | | | | | | | | | | | | | | | | | | | I tested this by comparing the output of virt-inspector over Windows guests before and after the change, which was identical: $ md5sum `ls -1 /tmp/*.before /tmp/*.after` c292d6629b5a761eccb4a279754399b4 /tmp/Win2003.after c292d6629b5a761eccb4a279754399b4 /tmp/Win2003.before eb1e1ff29208a9ee46e9c100dfec26b2 /tmp/Win2012.after eb1e1ff29208a9ee46e9c100dfec26b2 /tmp/Win2012.before d060a95d7ffe5dce6c4e66feb80c2837 /tmp/Win7x32.after d060a95d7ffe5dce6c4e66feb80c2837 /tmp/Win7x32.before 8914eee70ac4f8a0317659e09e00dcdc /tmp/Win7x32Dynamic.after 8914eee70ac4f8a0317659e09e00dcdc /tmp/Win7x32Dynamic.before a2dcdfc0f9d64054640875aa791889e0 /tmp/Win7x32TwoDisks.after a2dcdfc0f9d64054640875aa791889e0 /tmp/Win7x32TwoDisks.before 5ed49568a5147dce7517c99de41ebf2e /tmp/Win8previewx64.after 5ed49568a5147dce7517c99de41ebf2e /tmp/Win8previewx64.before fdfc7d272b79a665ae3313ae1ae30660 /tmp/WinXP.after fdfc7d272b79a665ae3313ae1ae30660 /tmp/WinXP.before 3c705444be664f1316b21c5d8d3cb0be /tmp/WinXPRecConsole.after 3c705444be664f1316b21c5d8d3cb0be /tmp/WinXPRecConsole.before
* New API: guestfs_hivex_value_utf8Richard W.M. Jones2012-08-292-1/+104
| | | | | A convenience function that reads a value from the registry and returns it as UTF-8.
* New APIs: hivex_*Richard W.M. Jones2012-08-2911-10/+745
| | | | | | | | | | | Transscribe many hivex(3) APIs into the libguestfs API. There is one hive handle per libguestfs handle, as with Augeas. Note that hivex uses iconv_open for some APIs (eg. hivex_value_string). But since we delete all the i18n files from the appliance, this doesn't work -- iconv_open returns EINVAL. Therefore hivex APIs which require iconv cannot be bound in the daemon.
* lib: Remove AUGEAS_CFLAGS, AUGEAS_LIBS.Richard W.M. Jones2012-08-291-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.
* remove ulockmgr from fuse LDFLAGSOlaf Hering2012-08-294-4/+4
| | | | | | | | | | libguestfs fails to build with --enable-fuse on openSuSE 11.4 and earlier because the included fuse version does not include libulockmgr.so. configure already used pkgconfig to retrieve the correct CFLAGS, so there is no need to hardcode -lulockmgr. With this change the build succeeds again. Signed-off-by: Olaf Hering <olaf@aepfle.de>
* java: Further java/java-home fixes.Richard W.M. Jones2012-08-294-6/+6
| | | | | | In particular the JVM executable is now called $JAVA_EXE. This fixes commit 40b9c14ca9af3b31ea1cf5336142d63313bbae39.
* perl: bindtests: Fix 64 bit integers on input on 32 bit Perl interpreter.Richard W.M. Jones2012-08-293-5/+31
|
* Fix Java detection and rename --with-java-home to --with-java.Wulf C. Krueger2012-08-281-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.
* launch: libvirt: Don't crash if shutdown_libvirt is called early in launch.Richard W.M. Jones2012-08-281-8/+13
| | | | | | | | | | | The assert (conn != NULL) was being triggered with this stack trace: at launch-libvirt.c:1305 fd=<optimized out>, error_if_eof=error_if_eof@entry=0) at proto.c:222 size_rtn=size_rtn@entry=0x7fffffffdb34, buf_rtn=buf_rtn@entry=0x7fffffffdb58) at proto.c:548 libvirt_uri=<optimized out>) at launch-libvirt.c:391
* Fix disabling the Perl bindings.Wulf C. Krueger2012-08-281-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.
* Version 1.19.34.1.19.34Richard W.M. Jones2012-08-2820-18829/+19441
|
* po-docs: Copy all *.1 and *.3 files to the install dir.Richard W.M. Jones2012-08-282-8/+4
|
* po-docs: Update the list of man pages.Richard W.M. Jones2012-08-282-16/+52
|
* po-docs: Fix podwrapper so it works on translated POD files.Richard W.M. Jones2012-08-283-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.
* po-docs: Don't output translated virt-sysprep page as HTML.Richard W.M. Jones2012-08-282-4/+2
|
* tools: Fix podwrapper errors in tools directory.Richard W.M. Jones2012-08-286-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.
* Mac OS X: Fixed combination of running autogen.sh on Linux and building on ↵Masami HIRATA2012-08-281-0/+1
| | | | | | Mac OS X Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
* podwrapper: Ignore $parser->html_charset if it fails (thanks Wulf C. Krueger).Richard W.M. Jones2012-08-281-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.
* Modified API: mkswap now takes optional arguments.Richard W.M. Jones2012-08-284-31/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add optional label and uuid arguments, and deprecate mkswap-L and mkswap-U. This also 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: Revise README file.Richard W.M. Jones2012-08-251-10/+14
|
* python: Fixed syntax errors in python/guestfs-py.cMasami HIRATA2012-08-251-1/+1
| | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
* docs: Use man page name as default title in HTML output.Richard W.M. Jones2012-08-211-0/+5
|
* release-notes: Add more visible separation between sections in the source file.Richard W.M. Jones2012-08-211-0/+18
|
* Update release notes.Richard W.M. Jones2012-08-212-8/+156
|
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-2125-0/+156
| | | | | | | | | | 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.
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-2133-528/+25
| | | | | | | | | | 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.
* podwrapper: Ensure the input file is printed in some error messages.Richard W.M. Jones2012-08-211-3/+3
|
* docs: Document null disks.Richard W.M. Jones2012-08-212-0/+64
| | | | | It's always been possible to use /dev/null as a disk image. Document this formally in the API.
* launch: libvirt: Always create /var/run/libguestfs.Richard W.M. Jones2012-08-211-2/+4
| | | | | This directory won't necessarily exist (esp. if /var/run is really /run). So create it each time.
* Version 1.19.33.1.19.33Richard W.M. Jones2012-08-2121-18620/+19857
|
* FAQ: Re-add #backup anchor for section on backups.Richard W.M. Jones2012-08-211-0/+7
|
* recipes: Update dumping filesystem content to mention that we now support ↵Richard W.M. Jones2012-08-211-1/+1
| | | | MD/RAID.
* recipes: Refer to virt-format, virt-make-fs for creating disk images.Richard W.M. Jones2012-08-211-1/+7
|
* recipes: Cloning Windows: plans for virt-sysprep.Richard W.M. Jones2012-08-211-10/+10
|
* recipes: For auditing for setuid files, point to virt-ls examples.Richard W.M. Jones2012-08-211-4/+1
|
* recipes: For sparsifying guests, point to virt-sparsify.Richard W.M. Jones2012-08-211-4/+1
|
* recipes: For listing files, point to virt-ls.Richard W.M. Jones2012-08-211-3/+1
|
* recipes: Mention virt-sysprep firstboot feature.Richard W.M. Jones2012-08-211-0/+3
|
* recipes: Most guests now use grub2, so change the example.Richard W.M. Jones2012-08-211-1/+1
|