libguestfs.git
11 years agoAdd 'make valgrind' target to run tests under valgrind.
Richard Jones [Sat, 9 May 2009 12:40:31 +0000 (13:40 +0100)]
Add 'make valgrind' target to run tests under valgrind.

11 years agoFix four memory leaks in guestfs.c revealed by valgrind.
Richard Jones [Sat, 9 May 2009 12:31:08 +0000 (13:31 +0100)]
Fix four memory leaks in guestfs.c revealed by valgrind.

11 years agoFix memory leak in error return path.
Richard Jones [Sat, 9 May 2009 12:30:40 +0000 (13:30 +0100)]
Fix memory leak in error return path.

11 years agoExperimental febootstrap install script.
Richard Jones [Fri, 8 May 2009 19:16:03 +0000 (20:16 +0100)]
Experimental febootstrap install script.

11 years agoTo-do: Use valgrind.
Richard Jones [Fri, 8 May 2009 14:49:42 +0000 (15:49 +0100)]
To-do: Use valgrind.

11 years agoBug: Segfault in Perl bindings.
Richard Jones [Fri, 8 May 2009 14:49:34 +0000 (15:49 +0100)]
Bug: Segfault in Perl bindings.

11 years agoList installed applications (NOT WORKING).
Richard Jones [Fri, 8 May 2009 14:48:02 +0000 (15:48 +0100)]
List installed applications (NOT WORKING).

11 years agoGenerated code to support last 3 commits.
Richard Jones [Fri, 8 May 2009 14:20:36 +0000 (15:20 +0100)]
Generated code to support last 3 commits.

11 years agoAdd test script to test recovery from qemu failure.
Richard Jones [Fri, 8 May 2009 14:20:20 +0000 (15:20 +0100)]
Add test script to test recovery from qemu failure.

11 years agoImplement -command (to ignore errors) in guestfish, and allow recovery from qemu...
Richard Jones [Fri, 8 May 2009 14:19:51 +0000 (15:19 +0100)]
Implement -command (to ignore errors) in guestfish, and allow recovery from qemu process failure.

11 years agoAllow recovery from guest failure.
Richard Jones [Fri, 8 May 2009 14:19:03 +0000 (15:19 +0100)]
Allow recovery from guest failure.

11 years agoGenerated code to support previous 2 commits.
Richard Jones [Fri, 8 May 2009 13:28:03 +0000 (14:28 +0100)]
Generated code to support previous 2 commits.

11 years agoImplement 'strings' and 'hexdump' commands.
Richard Jones [Fri, 8 May 2009 13:27:47 +0000 (14:27 +0100)]
Implement 'strings' and 'hexdump' commands.

11 years agoBug: write_file doesn't work with strings containing ASCII NUL.
Richard Jones [Fri, 8 May 2009 13:27:02 +0000 (14:27 +0100)]
Bug: write_file doesn't work with strings containing ASCII NUL.

11 years agoNote another bug found when testing on Koji.
Richard Jones [Fri, 8 May 2009 10:37:42 +0000 (11:37 +0100)]
Note another bug found when testing on Koji.

11 years agoMissing BRs in spec file.
Richard Jones [Fri, 8 May 2009 08:29:20 +0000 (09:29 +0100)]
Missing BRs in spec file.

11 years agoVersion 1.0.21 1.0.21
Richard Jones [Fri, 8 May 2009 07:50:27 +0000 (08:50 +0100)]
Version 1.0.21

11 years agoChange memory calculation to choose a generous amount of memory.
Richard Jones [Fri, 8 May 2009 07:44:34 +0000 (08:44 +0100)]
Change memory calculation to choose a generous amount of memory.

11 years agoMerge branch 'master' of git+ssh://192.168.122.141/home/rjones/d/libguestfs
Richard Jones [Fri, 8 May 2009 07:40:49 +0000 (08:40 +0100)]
Merge branch 'master' of git+ssh://192.168.122.141/home/rjones/d/libguestfs

11 years agoAdded RHEL/CentOS example spec file.
Richard Jones [Fri, 8 May 2009 07:39:05 +0000 (08:39 +0100)]
Added RHEL/CentOS example spec file.

11 years agoForce qemu quit when kernel panics (Charles Duffy).
Richard Jones [Fri, 8 May 2009 07:32:26 +0000 (08:32 +0100)]
Force qemu quit when kernel panics (Charles Duffy).

11 years agoUpdate date in changelog line. 1.0.20
Richard Jones [Thu, 7 May 2009 20:39:37 +0000 (21:39 +0100)]
Update date in changelog line.

11 years agoUpdate %changelog in the specfile.
Richard Jones [Thu, 7 May 2009 20:34:08 +0000 (21:34 +0100)]
Update %changelog in the specfile.

11 years agoPrepare for version 1.0.20.
Richard Jones [Thu, 7 May 2009 20:29:08 +0000 (21:29 +0100)]
Prepare for version 1.0.20.

11 years agoFix leak in realloc failure (Jim Meyering).
Richard Jones [Thu, 7 May 2009 20:21:32 +0000 (21:21 +0100)]
Fix leak in realloc failure (Jim Meyering).

11 years agoUse unsigned type for lengths.
Richard Jones [Thu, 7 May 2009 20:10:01 +0000 (21:10 +0100)]
Use unsigned type for lengths.

11 years agoHandle EINTR and EAGAIN in reads.
Richard Jones [Thu, 7 May 2009 20:01:02 +0000 (21:01 +0100)]
Handle EINTR and EAGAIN in reads.

11 years agoSpecify prototyping behaviour for Perl XSUBs.
Richard Jones [Thu, 7 May 2009 19:52:33 +0000 (20:52 +0100)]
Specify prototyping behaviour for Perl XSUBs.

11 years agoCreate daemon/m4 subdirectory if it doesn't exist already. 1.0.19
Richard Jones [Thu, 7 May 2009 18:28:21 +0000 (19:28 +0100)]
Create daemon/m4 subdirectory if it doesn't exist already.

11 years agoSet mandir (as in RHEL 5).
Richard Jones [Thu, 7 May 2009 18:19:49 +0000 (19:19 +0100)]
Set mandir (as in RHEL 5).

11 years agoVersion 1.0.19
Richard Jones [Thu, 7 May 2009 17:51:34 +0000 (18:51 +0100)]
Version 1.0.19

11 years agoMisc changes to make tests pass in RHEL 5.
Richard Jones [Thu, 7 May 2009 16:24:02 +0000 (17:24 +0100)]
Misc changes to make tests pass in RHEL 5.

11 years agoInclude /usr/sbin on the $PATH (for RHEL 5).
Richard Jones [Thu, 7 May 2009 15:58:49 +0000 (16:58 +0100)]
Include /usr/sbin on the $PATH (for RHEL 5).

11 years agoNeed to keep and modprobe dm_mod module for device-mapper support on RHEL 5.
Richard Jones [Thu, 7 May 2009 15:58:31 +0000 (16:58 +0100)]
Need to keep and modprobe dm_mod module for device-mapper support on RHEL 5.

11 years ago/dev/hd* is also a block device on RHEL 5.
Richard Jones [Thu, 7 May 2009 15:57:55 +0000 (16:57 +0100)]
/dev/hd* is also a block device on RHEL 5.

11 years agoAdd BR on ncurses-devel (needed for RHEL 5).
Richard Jones [Thu, 7 May 2009 15:05:50 +0000 (16:05 +0100)]
Add BR on ncurses-devel (needed for RHEL 5).

11 years agoAugeas is now completely optional.
Richard Jones [Thu, 7 May 2009 14:51:02 +0000 (15:51 +0100)]
Augeas is now completely optional.

11 years agoAdded TODO item.
Richard Jones [Wed, 6 May 2009 19:46:17 +0000 (20:46 +0100)]
Added TODO item.

11 years agoMerge branch 'master' of git+ssh://rich@hakodate/home/rich/d/libguestfs
Richard Jones [Wed, 6 May 2009 16:55:46 +0000 (17:55 +0100)]
Merge branch 'master' of git+ssh://rich@hakodate/home/rich/d/libguestfs

11 years agoNote bug about chroot not found.
Richard Jones [Wed, 6 May 2009 16:55:18 +0000 (17:55 +0100)]
Note bug about chroot not found.

11 years agoNote Augeas support should be optional (TODO).
Richard Jones [Wed, 6 May 2009 15:33:26 +0000 (16:33 +0100)]
Note Augeas support should be optional (TODO).

11 years agoFix missing futimens bug.
Richard Jones [Wed, 6 May 2009 14:29:01 +0000 (15:29 +0100)]
Fix missing futimens bug.

11 years agoAC_CHECK_FUNCS for multiple functions.
Richard Jones [Wed, 6 May 2009 14:21:46 +0000 (15:21 +0100)]
AC_CHECK_FUNCS for multiple functions.

11 years agoRARRAY_LEN macro for Ruby < 1.9. Small strictness fix for OCaml < 3.10.
Richard Jones [Wed, 6 May 2009 14:20:15 +0000 (15:20 +0100)]
RARRAY_LEN macro for Ruby < 1.9.  Small strictness fix for OCaml < 3.10.

11 years agoBackport CAMLreturnT for OCaml <= 3.10
Richard Jones [Wed, 6 May 2009 14:11:40 +0000 (15:11 +0100)]
Backport CAMLreturnT for OCaml <= 3.10

11 years agoMissing include <ctype.h>
Richard Jones [Wed, 6 May 2009 14:08:13 +0000 (15:08 +0100)]
Missing include <ctype.h>

11 years agovirt-inspector configure bug.
Richard Jones [Wed, 6 May 2009 13:52:15 +0000 (14:52 +0100)]
virt-inspector configure bug.

11 years agoAdded bugs noted by Charles Duffy.
Richard Jones [Wed, 6 May 2009 12:07:58 +0000 (13:07 +0100)]
Added bugs noted by Charles Duffy.

11 years agoAnother TODO item.
Richard W.M. Jones [Fri, 1 May 2009 18:00:22 +0000 (19:00 +0100)]
Another TODO item.

11 years agoTypo in documentation.
Richard W.M. Jones [Fri, 1 May 2009 17:51:15 +0000 (18:51 +0100)]
Typo in documentation.

11 years agoImplement !local in guestfish.
Richard W.M. Jones [Fri, 1 May 2009 16:41:28 +0000 (17:41 +0100)]
Implement !local in guestfish.

11 years agoVersion 1.0.18 1.0.18
Richard Jones [Fri, 1 May 2009 12:10:47 +0000 (13:10 +0100)]
Version 1.0.18

11 years agoGenerated code for 'equal' command.
Richard W.M. Jones [Fri, 1 May 2009 11:16:08 +0000 (12:16 +0100)]
Generated code for 'equal' command.

11 years agoAdded 'equal' command to compare files.
Richard W.M. Jones [Fri, 1 May 2009 11:15:58 +0000 (12:15 +0100)]
Added 'equal' command to compare files.

11 years agoGenerated code for ping-daemon command.
Richard W.M. Jones [Fri, 1 May 2009 10:47:31 +0000 (11:47 +0100)]
Generated code for ping-daemon command.

11 years agoAdded ping-daemon command.
Richard W.M. Jones [Fri, 1 May 2009 10:47:23 +0000 (11:47 +0100)]
Added ping-daemon command.

11 years agoGenerated code for dmesg command.
Richard W.M. Jones [Fri, 1 May 2009 10:27:52 +0000 (11:27 +0100)]
Generated code for dmesg command.

11 years agoAdded dmesg command.
Richard W.M. Jones [Fri, 1 May 2009 10:27:32 +0000 (11:27 +0100)]
Added dmesg command.

11 years agoGenerated code for drop-caches command.
Richard W.M. Jones [Fri, 1 May 2009 10:18:53 +0000 (11:18 +0100)]
Generated code for drop-caches command.

11 years agoAdded drop-caches command.
Richard W.M. Jones [Fri, 1 May 2009 10:18:44 +0000 (11:18 +0100)]
Added drop-caches command.

11 years agoGenerated code for cp, cp-a and mv commands.
Richard W.M. Jones [Fri, 1 May 2009 10:00:46 +0000 (11:00 +0100)]
Generated code for cp, cp-a and mv commands.

11 years agoAdd cp, cp-a and mv commands.
Richard W.M. Jones [Fri, 1 May 2009 10:00:34 +0000 (11:00 +0100)]
Add cp, cp-a and mv commands.

11 years agoAlways look for qemu-kvm, even on non-x86_64 platform.
Richard W.M. Jones [Fri, 1 May 2009 09:59:51 +0000 (10:59 +0100)]
Always look for qemu-kvm, even on non-x86_64 platform.

11 years agoCheck fakechroot >= 2.9
Richard W.M. Jones [Fri, 1 May 2009 09:11:12 +0000 (10:11 +0100)]
Check fakechroot >= 2.9

11 years agoVersion 1.0.17 1.0.17
Richard Jones [Thu, 30 Apr 2009 22:39:31 +0000 (23:39 +0100)]
Version 1.0.17

11 years agoGenerated code for grub-install command.
Richard Jones [Thu, 30 Apr 2009 22:10:22 +0000 (23:10 +0100)]
Generated code for grub-install command.

11 years agoAdd grub-install command.
Richard Jones [Thu, 30 Apr 2009 22:10:15 +0000 (23:10 +0100)]
Add grub-install command.

11 years agoReplace rtl8139 network card with virtio-net.
Richard Jones [Thu, 30 Apr 2009 21:39:36 +0000 (22:39 +0100)]
Replace rtl8139 network card with virtio-net.

11 years agoAdd documentation for the 'edit' and 'echo' commands.
Richard Jones [Thu, 30 Apr 2009 20:29:40 +0000 (21:29 +0100)]
Add documentation for the 'edit' and 'echo' commands.

11 years agoAdded guestfish 'echo' command. 1.0.16
Richard Jones [Thu, 30 Apr 2009 19:11:04 +0000 (20:11 +0100)]
Added guestfish 'echo' command.

11 years agoAdded a comment syntax to guestfish (# ...).
Richard Jones [Thu, 30 Apr 2009 18:53:52 +0000 (19:53 +0100)]
Added a comment syntax to guestfish (# ...).

11 years agoPrepare for version 1.0.16.
Richard Jones [Thu, 30 Apr 2009 18:44:28 +0000 (19:44 +0100)]
Prepare for version 1.0.16.

11 years agoAdded notes to the 'fsck' command documentation.
Richard Jones [Thu, 30 Apr 2009 18:32:58 +0000 (19:32 +0100)]
Added notes to the 'fsck' command documentation.

11 years agoAdded 'zero' command to wipe partition tables and superblocks.
Richard Jones [Thu, 30 Apr 2009 18:28:54 +0000 (19:28 +0100)]
Added 'zero' command to wipe partition tables and superblocks.

11 years agoCorrect the path to /sbin/fsck.
Richard Jones [Thu, 30 Apr 2009 18:28:08 +0000 (19:28 +0100)]
Correct the path to /sbin/fsck.

11 years agoEnable parallel builds (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 17:59:02 +0000 (18:59 +0100)]
Enable parallel builds (Jim Meyering).

11 years agoAdd generated code for 'fsck' command.
Richard Jones [Thu, 30 Apr 2009 17:57:07 +0000 (18:57 +0100)]
Add generated code for 'fsck' command.

11 years agoAdded 'fsck' command.
Richard Jones [Thu, 30 Apr 2009 17:56:55 +0000 (18:56 +0100)]
Added 'fsck' command.

11 years agoBind-mount /dev, /proc and /sys into chroot when running commands.
Richard Jones [Thu, 30 Apr 2009 17:05:13 +0000 (18:05 +0100)]
Bind-mount /dev, /proc and /sys into chroot when running commands.

11 years agoAutosync now runs umount-all; sync
Richard Jones [Thu, 30 Apr 2009 16:34:23 +0000 (17:34 +0100)]
Autosync now runs umount-all; sync

11 years agoFix umount_all command so it unmounts filesystems in the correct order.
Richard Jones [Thu, 30 Apr 2009 16:23:57 +0000 (17:23 +0100)]
Fix umount_all command so it unmounts filesystems in the correct order.

11 years agobuild: don't tell "make clean" to remove my '~' backup files
Jim Meyering [Thu, 30 Apr 2009 13:55:58 +0000 (15:55 +0200)]
build: don't tell "make clean" to remove my '~' backup files

Hi Rich,

automake's policy on what to remove via "make clean" is reasonable:
if running build rules creates it, then "make clean" can and should remove it.
However, even if build rules happen
to create backup files, please remove only the specific ones
they can create, not all of the ones in a directory.  Just in case
someone relies on those and expect them to hang around...

>From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 15:47:52 +0200
Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files

* Makefile.am (CLEANFILES): Don't remove '~' backup files.
* daemon/Makefile.am: Ditto.
* examples/Makefile.am: Ditto.
* fish/Makefile.am: Ditto.
* images/Makefile.am: Ditto.
* inspector/Makefile.am: Ditto.
* java/Makefile.am: Ditto.
* ocaml/Makefile.am: Ditto.
* ocaml/examples/Makefile.am: Ditto.
* perl/Makefile.am: Ditto.
* python/Makefile.am: Ditto.
* ruby/Makefile.am: Ditto.
* src/Makefile.am: Ditto.

11 years agoSafer way to copy RPMs in no-net builds (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 15:09:50 +0000 (16:09 +0100)]
Safer way to copy RPMs in no-net builds (Jim Meyering).

11 years agoUpdated the generator so it only overwrites files if they've changed.
Richard Jones [Thu, 30 Apr 2009 14:43:11 +0000 (15:43 +0100)]
Updated the generator so it only overwrites files if they've changed.

11 years agoCorrection to 366a86fb6097ab0f704443f0a6ae2addbc3745d5:
Richard Jones [Thu, 30 Apr 2009 13:20:07 +0000 (14:20 +0100)]
Correction to 366a86fb6097ab0f704443f0a6ae2addbc3745d5:
  The code in fish/completion.c is generated, so update the generator instead.

11 years ago* fish/completion.c (commands): Declare with a 2nd "const".
Jim Meyering [Thu, 30 Apr 2009 12:34:02 +0000 (14:34 +0200)]
* fish/completion.c (commands): Declare with a 2nd "const".

It's a const array of const strings.

>From 70c53d3169ae53fc4874e00975893d33387c51e6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 14:33:01 +0200
Subject: [PATCH] * fish/completion.c (commands): Declare with a 2nd "const".

11 years agoUse AC_PROG_CC_STDC because we really need an ISO C compiler (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 13:15:00 +0000 (14:15 +0100)]
Use AC_PROG_CC_STDC because we really need an ISO C compiler (Jim Meyering).

11 years agoUse safe_malloc and/or check returns from malloc (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 13:01:53 +0000 (14:01 +0100)]
Use safe_malloc and/or check returns from malloc (Jim Meyering).

11 years agoFix unchecked malloc (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 12:36:26 +0000 (13:36 +0100)]
Fix unchecked malloc (Jim Meyering).

11 years agoFix unchecked malloc & realloc in 'commandv' func (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 12:36:06 +0000 (13:36 +0100)]
Fix unchecked malloc & realloc in 'commandv' func (Jim Meyering).

11 years agoCheck return value from realloc call (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 12:35:36 +0000 (13:35 +0100)]
Check return value from realloc call (Jim Meyering).

11 years agoRename tune2fs.c -> ext2.c
Richard Jones [Thu, 30 Apr 2009 12:02:29 +0000 (13:02 +0100)]
Rename tune2fs.c -> ext2.c

11 years agoMerge branch 'master' of git+ssh://g-rjones@et.redhat.com/git/libguestfs
Richard Jones [Tue, 28 Apr 2009 21:44:59 +0000 (22:44 +0100)]
Merge branch 'master' of git+ssh://g-rjones@et.redhat.com/git/libguestfs

11 years ago[PATCH] add dependency to ensure make-initramfs.sh is rebuilt when (Jim Meyering)
Richard Jones [Tue, 28 Apr 2009 21:06:27 +0000 (22:06 +0100)]
[PATCH] add dependency to ensure make-initramfs.sh is rebuilt when (Jim Meyering)

11 years agoResync with proposed Fedora specfile.
Richard Jones [Tue, 28 Apr 2009 16:44:10 +0000 (17:44 +0100)]
Resync with proposed Fedora specfile.

11 years agoBuild virt-inspector HTML for the website.
Richard Jones [Tue, 28 Apr 2009 16:37:59 +0000 (17:37 +0100)]
Build virt-inspector HTML for the website.

11 years agoPrepare for 1.0.15. 1.0.15
Richard Jones [Tue, 28 Apr 2009 15:06:02 +0000 (16:06 +0100)]
Prepare for 1.0.15.

11 years agoXML output.
Richard Jones [Tue, 28 Apr 2009 15:04:12 +0000 (16:04 +0100)]
XML output.

11 years agoPerl output.
Richard Jones [Tue, 28 Apr 2009 14:15:56 +0000 (15:15 +0100)]
Perl output.

11 years ago--fish and --ro-fish options working.
Richard Jones [Tue, 28 Apr 2009 14:08:26 +0000 (15:08 +0100)]
--fish and --ro-fish options working.