summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sparsify: Use guestfs_disk_format to autodetect input format (RHBZ#853762).Richard W.M. Jones2012-09-031-19/+4
|
* launch: libvirt: Use guestfs_disk_format API to autodetect input format.Richard W.M. Jones2012-09-031-85/+19
|
* guestfs(3): Document disk image formats and how to detect them.Richard W.M. Jones2012-09-032-1/+90
|
* New API: guestfs_disk_formatRichard W.M. Jones2012-09-034-0/+175
| | | | Detect the disk image format of a file, in a secure way.
* daemon: remove call to obsolete udevsettleOlaf Hering2012-09-031-8/+0
| | | | | | | udevadm is included in all reasonable recent distributions. This avoids 'command not found' errors in verbose mode. Signed-off-by: Olaf Hering <olaf@aepfle.de>
* TODO: remove the implemented hostname removing featureWanlong Gao2012-09-031-1/+0
| | | | Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* sysprep: remove hostname from ifcfg-*Wanlong Gao2012-09-033-0/+60
| | | | | | Remove hostname from network interface configuration. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* generator: Test zero args, one optarg; and 63 optargs.Richard W.M. Jones2012-09-034-68/+110
| | | | This just generates the code; it's not called.
* java: Fix >= 32 optargs (thanks Wanlong Gao).Richard W.M. Jones2012-09-031-1/+1
|
* generator: Rename 'generator_*' as '*'.Richard W.M. Jones2012-09-0238-250/+247
| | | | | | | | | This is a simple renaming of the files/modules. Note that in OCaml, module names are derived from filenames by capitalizing the first letter. Thus the old module names had the form "Generator_api_versions". The new modules names have the form "Api_versions".
* TODO: Suggest removing hostname from ifcfg-eth* files.Richard W.M. Jones2012-09-021-0/+1
|
* recipes: Checksum file/device. Download to stdout.Richard W.M. Jones2012-09-021-0/+26
|
* tests: Attach copyright and license (GPLv2+) notices to various test scripts.Richard W.M. Jones2012-08-317-0/+112
| | | | For some reason these tests did not have license notices.
* tests/rsync: Allow rsync test to be skipped by setting SKIP_TEST_RSYNC_SH=1.Richard W.M. Jones2012-08-311-0/+5
|
* Version 1.19.37.1.19.37Richard W.M. Jones2012-08-3118-36/+39
|
* Copy the kernel so that libvirt can add an SELinux label to it. NB. This ↵Richard W.M. Jones2012-08-312-3/+4
| | | | requires febootstrap >= 3.20 with --copy-kernel flag.
* guestfs-internal.h: Organize functions by file.Richard W.M. Jones2012-08-311-45/+75
| | | | | | | | | | | This is almost just code motion. While doing this I discovered two prototypes for functions which no longer exist: * guestfs___launch_appliance * guestfs___launch_unix so these prototypes have been removed. The rest are rearranged more logically.
* tests: Make mkswap and tar tests conditional on linuxfsuuid and xz features.Richard W.M. Jones2012-08-311-3/+3
|
* tests/mount-local: Link test program with gnulib.Richard W.M. Jones2012-08-311-1/+2
|
* src/dbdump.c: Shouldn't depend on HAVE_HIVEX (thanks Tao Zhou).Richard W.M. Jones2012-08-311-2/+2
|
* daemon: collect list of called external commandsOlaf Hering2012-08-3051-203/+352
| | | | | | | | | | | | | | | | | | | | | | | | guestfsd calls many different tools. Keeping track of all of them is error prone. This patch introduces a new helper macro to put the command string into its own ELF section: GUESTFSD_EXT_CMD(C_variable, command_name); This syntax makes it still possible to grep for used command names. The actual usage of the collected list could be like this: objcopy -j .guestfsd_ext_cmds -O binary daemon/guestfsd /dev/stdout | tr '\0' '\n' | sort -u The resulting output will be used to tell mkinitrd which programs to copy into the initrd. Signed-off-by: Olaf Hering <olaf@aepfle.de> RWMJ: - Move str_vgchange at request of author. - Fix snprintf call in daemon/debug.c
* launch: appliance: app.virtio_scsi must not be bool.Richard W.M. Jones2012-08-301-1/+1
| | | | | | This is used to store values 0..3, so it mustn't be a bool. Ooops. RHEL 5's gcc revealed this bug.
* 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>