libguestfs.git
14 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.

14 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.

14 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.

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

14 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.

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

14 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.

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

14 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.

14 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.

14 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.

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

14 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

14 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.

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

14 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.

14 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.

14 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.

14 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 (# ...).

14 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.

14 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.

14 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.

14 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.

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

14 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.

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

14 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.

14 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

14 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.

14 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.

14 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).

14 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.

14 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.

14 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".

14 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).

14 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).

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

14 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).

14 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).

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

14 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

14 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)

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

14 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.

14 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.

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

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

14 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.

14 years agoAdded virt-inspector program from virt-v2v.
Richard Jones [Tue, 28 Apr 2009 09:04:27 +0000 (10:04 +0100)]
Added virt-inspector program from virt-v2v.

14 years agos/builddir/top_builddir/ (Luciano Miguel Ferreira Rocha).
Richard Jones [Tue, 28 Apr 2009 10:39:27 +0000 (11:39 +0100)]
s/builddir/top_builddir/ (Luciano Miguel Ferreira Rocha).

14 years agoFix perl hanging during configure (thanks to Luciano Miguel Ferreira Rocha).
Richard Jones [Tue, 28 Apr 2009 08:59:35 +0000 (09:59 +0100)]
Fix perl hanging during configure (thanks to Luciano Miguel Ferreira Rocha).

14 years agoGenerated code for ext2 UUID and label functions.
Richard Jones [Mon, 27 Apr 2009 12:41:59 +0000 (13:41 +0100)]
Generated code for ext2 UUID and label functions.

14 years agoFunctions for getting and setting the ext2 UUID and label.
Richard Jones [Mon, 27 Apr 2009 12:41:30 +0000 (13:41 +0100)]
Functions for getting and setting the ext2 UUID and label.

14 years agoVersion 1.0.14 1.0.14
Richard Jones [Sun, 26 Apr 2009 16:59:35 +0000 (17:59 +0100)]
Version 1.0.14

14 years agoAdd --version option (show version) to guestfish.
Richard Jones [Sun, 26 Apr 2009 11:11:23 +0000 (12:11 +0100)]
Add --version option (show version) to guestfish.

14 years agoAdded the --ro option (readonly) to guestfish.
Richard Jones [Sun, 26 Apr 2009 11:09:06 +0000 (12:09 +0100)]
Added the --ro option (readonly) to guestfish.

14 years agoUpdate BUGS with latest status. 1.0.13
Richard Jones [Sun, 26 Apr 2009 10:15:57 +0000 (11:15 +0100)]
Update BUGS with latest status.

14 years agoGet ready for version 1.0.13.
Richard Jones [Sun, 26 Apr 2009 10:11:48 +0000 (11:11 +0100)]
Get ready for version 1.0.13.

14 years agoMultiple callbacks during file transfers could cause data corruption - FIXED.
Richard Jones [Sun, 26 Apr 2009 10:06:47 +0000 (11:06 +0100)]
Multiple callbacks during file transfers could cause data corruption - FIXED.

14 years agoCheck for multiple callback in RPC code.
Richard Jones [Sun, 26 Apr 2009 09:43:07 +0000 (10:43 +0100)]
Check for multiple callback in RPC code.

14 years agoMore checks.
Richard Jones [Sun, 26 Apr 2009 08:52:42 +0000 (09:52 +0100)]
More checks.

14 years agoInclude UTF-8 NLS.
Richard Jones [Sun, 26 Apr 2009 08:52:13 +0000 (09:52 +0100)]
Include UTF-8 NLS.

14 years agoUse ferror to check for error conditions in pipe.
Richard Jones [Sun, 26 Apr 2009 08:51:48 +0000 (09:51 +0100)]
Use ferror to check for error conditions in pipe.

14 years agoCarefully check return values from xwrite.
Richard Jones [Sun, 26 Apr 2009 08:51:30 +0000 (09:51 +0100)]
Carefully check return values from xwrite.

14 years agoDon't echo output in scripts.
Richard Jones [Sun, 26 Apr 2009 06:05:12 +0000 (07:05 +0100)]
Don't echo output in scripts.

14 years agoAdded rpmqa example.
Richard Jones [Sun, 26 Apr 2009 05:48:31 +0000 (06:48 +0100)]
Added rpmqa example.

14 years agoDocument qemu wrappers.
Richard Jones [Sun, 26 Apr 2009 05:34:54 +0000 (06:34 +0100)]
Document qemu wrappers.

14 years agoDocumentation fix.
Richard Jones [Sat, 25 Apr 2009 21:59:19 +0000 (22:59 +0100)]
Documentation fix.

14 years agoNote about bugs.
Richard Jones [Sat, 25 Apr 2009 21:56:57 +0000 (22:56 +0100)]
Note about bugs.

14 years agoClean up *~ files in recipes/
Richard Jones [Sat, 25 Apr 2009 21:56:42 +0000 (22:56 +0100)]
Clean up *~ files in recipes/

14 years agoNew recipe: iso2tar.
Richard Jones [Sat, 25 Apr 2009 21:56:34 +0000 (22:56 +0100)]
New recipe: iso2tar.

14 years agoInclude UDF driver (for CD/DVDs).
Richard Jones [Sat, 25 Apr 2009 21:43:24 +0000 (22:43 +0100)]
Include UDF driver (for CD/DVDs).

14 years agoInclude the right RPMs and kernel modules for NTFS & VFAT mkfs and mounts.
Richard Jones [Sat, 25 Apr 2009 21:06:04 +0000 (22:06 +0100)]
Include the right RPMs and kernel modules for NTFS & VFAT mkfs and mounts.

14 years agoGenerated code for lvremove, vgremove, pvremove.
Richard Jones [Sat, 25 Apr 2009 20:41:09 +0000 (21:41 +0100)]
Generated code for lvremove, vgremove, pvremove.

14 years agoImplement lvremove, vgremove, pvremove.
Richard Jones [Sat, 25 Apr 2009 20:40:50 +0000 (21:40 +0100)]
Implement lvremove, vgremove, pvremove.

14 years agoBetter generation of recipes page.
Richard Jones [Sat, 25 Apr 2009 17:28:24 +0000 (18:28 +0100)]
Better generation of recipes page.

14 years agoexport2tar recipe
Richard Jones [Sat, 25 Apr 2009 11:36:45 +0000 (12:36 +0100)]
export2tar recipe

14 years agoImprove CSS on recipes page.
Richard Jones [Sat, 25 Apr 2009 11:20:15 +0000 (12:20 +0100)]
Improve CSS on recipes page.

14 years agoAdded guestfish recipes.
Richard Jones [Sat, 25 Apr 2009 10:34:18 +0000 (11:34 +0100)]
Added guestfish recipes.

14 years agoIf LIBGUESTFS_PATH is set, guestfish shouldn't modify the path.
Richard Jones [Sat, 25 Apr 2009 09:38:39 +0000 (10:38 +0100)]
If LIBGUESTFS_PATH is set, guestfish shouldn't modify the path.

14 years agoAdded configure test for qemu vmchannel support.
Richard Jones [Sat, 25 Apr 2009 07:36:52 +0000 (08:36 +0100)]
Added configure test for qemu vmchannel support.

14 years agoExperimental recovery process should help with not cleaning up qemu.
Richard Jones [Fri, 24 Apr 2009 22:17:07 +0000 (23:17 +0100)]
Experimental recovery process should help with not cleaning up qemu.

14 years agoRemove the debug mode from make-initramfs.sh.
Richard Jones [Fri, 24 Apr 2009 21:26:50 +0000 (22:26 +0100)]
Remove the debug mode from make-initramfs.sh.

14 years agoAdd support for ext4 to examples/to-xml.c
Richard Jones [Fri, 24 Apr 2009 18:03:18 +0000 (19:03 +0100)]
Add support for ext4 to examples/to-xml.c

14 years agochmod /sysroot (also makes it known to fakeroot)
Richard Jones [Fri, 24 Apr 2009 17:33:06 +0000 (18:33 +0100)]
chmod /sysroot (also makes it known to fakeroot)

14 years agoResync specfile with proposed specfile in Fedora RR.
Richard Jones [Fri, 24 Apr 2009 13:52:49 +0000 (14:52 +0100)]
Resync specfile with proposed specfile in Fedora RR.

14 years agoRuby bindings didn't NULL-terminate an array, resulting in segfault. 1.0.12
Richard Jones [Fri, 24 Apr 2009 13:31:38 +0000 (14:31 +0100)]
Ruby bindings didn't NULL-terminate an array, resulting in segfault.

14 years agoAdded bug about qemu not being cleaned up after segfault.
Richard Jones [Fri, 24 Apr 2009 13:29:58 +0000 (14:29 +0100)]
Added bug about qemu not being cleaned up after segfault.

14 years agoGet ready for version 1.0.12.
Richard Jones [Fri, 24 Apr 2009 12:19:21 +0000 (13:19 +0100)]
Get ready for version 1.0.12.

14 years agoDon't allocate file chunks on the stack.
Richard W.M. Jones [Fri, 24 Apr 2009 12:15:49 +0000 (13:15 +0100)]
Don't allocate file chunks on the stack.

14 years agoDon't use large message buffer on the stack (fixes Java/i386 segfault).
Richard W.M. Jones [Fri, 24 Apr 2009 12:00:49 +0000 (13:00 +0100)]
Don't use large message buffer on the stack (fixes Java/i386 segfault).

14 years agoFix 64 bit memsize overhead. 1.0.11
Richard Jones [Thu, 23 Apr 2009 19:08:29 +0000 (20:08 +0100)]
Fix 64 bit memsize overhead.

14 years agocatsprintf leaks, use open_memstream instead.
Richard W.M. Jones [Thu, 23 Apr 2009 18:33:00 +0000 (19:33 +0100)]
catsprintf leaks, use open_memstream instead.

14 years agoRemove the 'debug mem' command, it's never going to work.
Richard W.M. Jones [Thu, 23 Apr 2009 18:23:52 +0000 (19:23 +0100)]
Remove the 'debug mem' command, it's never going to work.

14 years agoReduce the amount of memory allocated to guests based on some testing.
Richard W.M. Jones [Thu, 23 Apr 2009 18:23:33 +0000 (19:23 +0100)]
Reduce the amount of memory allocated to guests based on some testing.

14 years agoImplement 'debug sh' and 'debug fds' commands.
Richard W.M. Jones [Thu, 23 Apr 2009 17:52:34 +0000 (18:52 +0100)]
Implement 'debug sh' and 'debug fds' commands.

14 years agoImplement extensible strings with catprintf.
Richard W.M. Jones [Thu, 23 Apr 2009 17:52:06 +0000 (18:52 +0100)]
Implement extensible strings with catprintf.

14 years agoUse AC_GNU_SOURCE in daemon. Don't need _GNU_SOURCE in C files any more.
Richard W.M. Jones [Thu, 23 Apr 2009 17:51:12 +0000 (18:51 +0100)]
Use AC_GNU_SOURCE in daemon.  Don't need _GNU_SOURCE in C files any more.

14 years agoFix buffer overrun in guestfish command-line parsing.
Richard W.M. Jones [Thu, 23 Apr 2009 13:47:06 +0000 (14:47 +0100)]
Fix buffer overrun in guestfish command-line parsing.

14 years agoGenerated code for debug command.
Richard W.M. Jones [Thu, 23 Apr 2009 13:39:31 +0000 (14:39 +0100)]
Generated code for debug command.