summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 1.0.88.1.0.88Richard Jones2010-03-2613-302/+302
|
* rescue: Pass $TERM from library into the virt-rescue appliance.Richard Jones2010-03-262-1/+3
| | | | | We set it on the kernel command line, then get it out from there when the rescue appliance boots.
* rescue: Sync disk on exit, and improve messaging.Richard Jones2010-03-261-1/+10
|
* Const-correctness fix.Jim Meyering2010-03-261-1/+1
|
* appliance: Set $PATH instead of hard-coding paths to binaries everywhere.Richard Jones2010-03-2617-70/+91
| | | | | | Change the appliance so PATH includes common directories. Thus we don't need to hard-code paths to binaries (eg. "/sbin/fdisk") everywhere.
* perl: use newSVpvn for variable length strings.Richard Jones2010-03-251-3/+3
| | | | | | | Previously we used newSVpv (str, len), but if len == 0 then this means Perl tries to calculate the string length using strlen(3). This is not desirable when we know the length, in which case we should use newSVpvn instead.
* Update PO files.Richard Jones2010-03-251-1233/+532
|
* Update Spanish translation of libguestfs (RHBZ#576876).Daniel Cabrera2010-03-251-536/+1238
|
* Fix lvresize test on RHEL 5, by fixing guestfs_e2fsck_l.Richard Jones2010-03-241-2/+9
| | | | | | | | | The problem is that mkfs was making an ext2 filesystem, which later we were checking with e4fsck. e4fsck corrects an "error" on the filesystem: /dev/VG/LV: Adding dirhash hint to filesystem. e4fsck returns 1 (errors corrected) which we were interpreting as an error return.
* Use ext4 dev tools on RHEL 5 (RHBZ#576688).Richard Jones2010-03-241-51/+85
|
* Add support for minix filesystem (RHBZ#576689).Richard Jones2010-03-241-0/+2
|
* Version 1.0.87.1.0.87Richard Jones2010-03-2313-6771/+6471
|
* New tools: virt-resize and virt-list-partitions.Richard Jones2010-03-237-1/+1217
| | | | | | | | Virt-resize is the main contribution here, a program which can be used to expand and shrink partitions in disk images. Virt-list-partitions is used as an ancillary tool for planning resize operations.
* New API: guestfs_copy_size to copy a fixed number of bytes.Richard Jones2010-03-233-2/+96
| | | | | | | This is similar to 'guestfs_dd', but it copies just a fixed number of bytes from the source to the destination. It's an error if the source is too short or if the destination is too small.
* Change some _exit(0|1) to _exit(EXIT_SUCCESS|EXIT_FAILURE).Richard W.M. Jones2010-03-231-4/+4
|
* Mac OS X: Fix configure-time tests for Ruby.Richard Jones2010-03-223-2/+6
| | | | | | | | For ARCHFLAGS change, see: http://www.ruby-forum.com/topic/129717#579065 We also add a test for the <guestfs.h> header and include that header when testing the library.
* guestfs.h: Include <stdint.h>.Richard Jones2010-03-221-0/+1
| | | | | | | | This allows programs to work if they just #include <guestfs.h> and no other headers. It's not useful in the general case, but fixes some configure-time tests, particularly the one for Ruby on OS X.
* ocaml examples: Fix linking line so it uses local library.Richard Jones2010-03-221-1/+1
|
* Mac OS X: Disable null vmchannel implementation.Richard Jones2010-03-221-1/+14
| | | | | | | | | As far as I can tell, Darwin has no way to check the peer euid of a _loopback_ TCP socket. This is required for the "null vmchannel" implementation to work securely. Therefore disable this - Darwin will use one of the other supported vmchannel implementations instead.
* Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t'Richard Jones2010-03-221-0/+4
|
* Mac OS X: For PATH_MAX, include <limits.h>Richard Jones2010-03-221-0/+1
|
* Mac OS X: setlocale function requires <locale.h> header file.Richard Jones2010-03-222-0/+2
|
* Mac OS X: implement readline functions.Richard Jones2010-03-223-4/+22
| | | | | OS X has an older version of readline with some differences in the names of functions.
* Mac OS X: provide alternate implementation of posix_fallocate.Richard Jones2010-03-222-0/+22
|
* Mac OS X: include <rpc/types.h> before <rpc/xdr.h>Richard Jones2010-03-221-0/+1
| | | | | | In PortableXDR this is not included automatically so we have to include it explicitly to get definitions for the XDR types.
* Mac OS X: include <string.h> in guestfs-actions.cRichard Jones2010-03-221-0/+1
| | | | This is required because guestfs-actions.c uses 'memset'.
* Mac OS X: Fix HAVE_GNU_CALLOC so it works when __GLIBC__ is not defined.Richard Jones2010-03-221-0/+4
|
* Mac OS X: strerror_r on Macs is not like GNU strerror_r.Richard Jones2010-03-221-1/+1
| | | | | Really this should be turned into a configure-time test. Perhaps one exists already?
* Mac OS X: define MAX macro if not already defined.Richard Jones2010-03-221-0/+4
|
* Mac OS X: kill(2) requires <signal.h>Richard Jones2010-03-221-0/+1
|
* generator: Small fix for GODI users.Richard Jones2010-03-221-0/+1
| | | | | GODI has an odd package layout, so the generator was unable to find xml-light. Add the GODI directory to the search path.
* Ignore m4/intmax.m4Richard Jones2010-03-221-0/+1
|
* Remove out-of-date comment.Richard Jones2010-03-221-3/+0
|
* configure: Add --disable-daemon and --disable-appliance options.Richard Jones2010-03-222-79/+113
| | | | | Use these on any platforms where you don't want or need to build the daemon/appliance combination.
* Run qemu with -nographic option.Richard Jones2010-03-222-5/+6
| | | | | On Mac OS X this prevents a short "flash" as qemu opens a toplevel window.
* configure: Move host_cpu definition to earlier in the file.Richard Jones2010-03-221-3/+3
|
* appliance: Run depmod to create modules.dep for the kernel.Richard Jones2010-03-221-0/+5
| | | | | | Since we disabled running new-kernel-pkg in febootstrap, this has meant that the normal appliance has not had a modules.dep file. (Supermin was unaffected by this).
* Mac OS X: Detect bindtextdomain.Richard Jones2010-03-222-0/+14
| | | | | These are missing on Mac OS X. I think you would need to install a gettext package to get these.
* Mac OS X: Use gnulib setenv module explicitly.Richard Jones2010-03-221-0/+1
| | | | | See: https://www.redhat.com/archives/libguestfs/2010-March/thread.html#00094
* New APIs: Query the relationship between LVM objects.Richard Jones2010-03-186-1/+228
| | | | | | | | | These calls allow you to query the relationship between LVM objects, for example, which PVs contain a VG, or which LVs are contained in a VG. See the example / test program 'regressions/test-lvm-mapping.pl' for an example of how to do this from Perl.
* daemon: Add a trim utility function.Richard Jones2010-03-182-0/+24
| | | | | This function trims the whitespace from around a string. It does this in-place, so it can be called for malloc'd strings.
* add_drive_ro adds readonly=on option if available.Richard Jones2010-03-162-5/+21
| | | | | | | | | | | | | | Change the add_drive_ro call so it adds the readonly=on option if qemu supports that. This just means that qemu will not try to open the drive with O_RDWR, and should not otherwise change the behaviour of qemu or libguestfs. (In particular, writes to the read-only drive are still permitted, and are just discarded when the handle is closed). However it should alleviate RHBZ#571714 where udev was deciding to incorrectly relabel a device because we had opened the device for writing (even though we didn't actually write to it).
* Allow qemu_supports to run earlier.Richard Jones2010-03-162-10/+27
| | | | | | | Reimplement qemu_supports() internal function. Allow it to run before launch so we can test qemu features. Document that you should run guestfs_set_qemu as early as possible to make sure these tests are reliable.
* Add minimal vim to the appliance for virt-rescue.Richard Jones2010-03-161-0/+2
| | | | | virt-rescue lacks an editor. Add vim-minimal (Fedora) or vim-tiny (Debian) to make up for this omission.
* tests: Don't use <guestfs-internal.h> in tests.Richard Jones2010-03-161-2/+1
| | | | | It was failing when including this header, as a consequence of earlier commit 1f56debfcfdc35d6b0.
* guestfs.h: More adjustment to comments in the header file.Richard Jones2010-03-161-10/+14
|
* guestfs.h: Move some internal functions to the internal header.Richard Jones2010-03-162-15/+16
| | | | | | Functions like guestfs__send were never exported through the public API (libguestfs.syms prevented that). However they appeared in the public header. Move them to the internal header.
* Rearrangement and comment changes in <guestfs.h> header file.Richard Jones2010-03-161-10/+18
| | | | There should be no substantive change.
* Prepare for version 1.0.86.1.0.86Richard Jones2010-03-121-1/+1
|
* Tab to space (whitespace fixes only).Richard Jones2010-03-125-104/+104
|