summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* recipes: Add a section on deleting a file and other common file operations.Richard W.M. Jones2012-08-211-0/+18
|
* recipes: Update cloning section.Richard W.M. Jones2012-08-211-10/+5
|
* launch: libvirt: Minimum libvirt version is now 0.10.0.Richard W.M. Jones2012-08-212-10/+27
|
* xfs_growfs: drop the unstructed outputWanlong Gao2012-08-212-8/+7
| | | | | | | Just drop the unstructed output since we can get the structed info from xfs_info instead. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* New API: xfs: xfs_adminWanlong Gao2012-08-216-3/+103
| | | | | | | | | | | Add new api xfs_admin to change parameters of an XFS filesystem. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Remove printuuid, printlabel, since they don't change any settings. - Adjusted the documentation. - Fix the tests.
* run: Disable 'memory optimizations' in glib programs, for valgrind (thanks ↵Richard W.M. Jones2012-08-201-0/+3
| | | | Dan Berrange).
* FAQ: virt-sparsify and raw sparse output.Richard W.M. Jones2012-08-192-0/+32
|
* Replace mount-options with mount where appropriate.Richard W.M. Jones2012-08-1835-67/+67
| | | | | | Since our minimum supported version is now 1.16 and mount was fixed in 1.13.16, it is now safe to replace mount-options + empty options with mount wherever it occurs.
* Update API support.Richard W.M. Jones2012-08-1825-1/+13114
|
* Version 1.19.32.1.19.32Richard W.M. Jones2012-08-1820-25043/+26817
|
* sysprep: docs: virt-sysprep can now be used to customize a guest.Richard W.M. Jones2012-08-181-6/+18
|
* sysprep: Add --firstboot functionality.Richard W.M. Jones2012-08-1810-9/+301
| | | | | This allows you to add scripts that run in the context of the guest the first time it boots.