Commit Graph

170 Commits

Author SHA1 Message Date
Richard Jones
85ed8cef99 Add vg-activate{,-all} commands, and resize recipe. 2009-05-18 17:16:24 +01:00
Richard W.M. Jones
5cd39c83e2 Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk. 2009-05-15 14:52:34 +01:00
Richard W.M. Jones
d901cc9161 Add support for zerofree command. 2009-05-14 23:47:17 +01:00
Richard W.M. Jones
7ca3bda166 Enable run-time conditional test prerequisites. 2009-05-14 14:43:53 +01:00
Richard W.M. Jones
17fa7abbb8 Add test prerequisites. 2009-05-14 13:00:12 +01:00
Richard W.M. Jones
5d628a4a9c Don't stash strings in the handle.
- makes it impossible to write bindings for set_{path,qemu,append}
   functions
2009-05-13 18:03:41 +01:00
Richard W.M. Jones
e8ecc08f66 Add 'append', LIBGUESTFS_APPEND to set additional kernel options. 2009-05-13 17:51:14 +01:00
Richard Jones
1ed352b5dd Increase the wait time for vmchannel socket to appear (fix for slow / heavily-loaded) machines. 2009-05-13 11:43:21 +01:00
Richard Jones
45d78361d7 Test the 'command' and 'command_lines' functions thoroughly. 2009-05-12 17:16:59 +01:00
Richard Jones
09128ca421 Perl bindings fix: Not enough memory was allocated for array params. 2009-05-11 10:52:34 +01:00
Richard Jones
d43dac6948 Partial Haskell bindings. 2009-05-10 13:52:49 +01:00
Richard Jones
f0a5cd69f9 Handle EINTR, EAGAIN in select main loop. 2009-05-10 13:52:49 +01:00
Richard Jones
09492abb65 Fix four memory leaks in guestfs.c revealed by valgrind. 2009-05-09 13:31:08 +01:00
Richard Jones
cdc726dcfc Fix memory leak in error return path. 2009-05-09 13:30:40 +01:00
Richard Jones
15e0fd573a Generated code to support last 3 commits. 2009-05-08 15:20:36 +01:00
Richard Jones
33377fc61d Allow recovery from guest failure. 2009-05-08 15:19:03 +01:00
Richard Jones
0faa5dde7b Generated code to support previous 2 commits. 2009-05-08 14:28:03 +01:00
Richard Jones
fa7c8bb79b Implement 'strings' and 'hexdump' commands. 2009-05-08 14:27:47 +01:00
Richard Jones
bd7c8ee043 Bug: write_file doesn't work with strings containing ASCII NUL. 2009-05-08 14:27:02 +01:00
Richard Jones
93ad7365e4 Change memory calculation to choose a generous amount of memory. 2009-05-08 08:44:34 +01:00
Richard Jones
f78de84796 Force qemu quit when kernel panics (Charles Duffy). 2009-05-08 08:32:26 +01:00
Richard Jones
dd8b152da0 Use unsigned type for lengths. 2009-05-07 21:10:01 +01:00
Richard Jones
bb349b0533 Handle EINTR and EAGAIN in reads. 2009-05-07 21:01:02 +01:00
Richard Jones
672c4ba257 Specify prototyping behaviour for Perl XSUBs. 2009-05-07 20:52:33 +01:00
Richard Jones
6f0b962724 Misc changes to make tests pass in RHEL 5. 2009-05-07 18:43:27 +01:00
Richard Jones
9a571d41f5 RARRAY_LEN macro for Ruby < 1.9. Small strictness fix for OCaml < 3.10. 2009-05-06 15:20:15 +01:00
Richard W.M. Jones
0cad78b28d Typo in documentation. 2009-05-01 18:51:15 +01:00
Richard W.M. Jones
f47dafd231 Generated code for 'equal' command. 2009-05-01 12:16:08 +01:00
Richard W.M. Jones
d9ea3e8d97 Added 'equal' command to compare files. 2009-05-01 12:15:58 +01:00
Richard W.M. Jones
8c3b820c2b Generated code for ping-daemon command. 2009-05-01 11:47:31 +01:00
Richard W.M. Jones
632012e641 Added ping-daemon command. 2009-05-01 11:47:23 +01:00
Richard W.M. Jones
24bee20ce4 Generated code for dmesg command. 2009-05-01 11:27:52 +01:00
Richard W.M. Jones
8c60f5c681 Added dmesg command. 2009-05-01 11:27:32 +01:00
Richard W.M. Jones
9222136ac9 Generated code for drop-caches command. 2009-05-01 11:18:53 +01:00
Richard W.M. Jones
2dc9e8a858 Added drop-caches command. 2009-05-01 11:18:44 +01:00
Richard W.M. Jones
ac286b26df Generated code for cp, cp-a and mv commands. 2009-05-01 11:00:46 +01:00
Richard W.M. Jones
3cb794463a Add cp, cp-a and mv commands. 2009-05-01 11:00:34 +01:00
Richard Jones
e118c14b95 Generated code for grub-install command. 2009-04-30 23:10:22 +01:00
Richard Jones
b55bf8158f Add grub-install command. 2009-04-30 23:10:15 +01:00
Richard Jones
0fea1c7671 Replace rtl8139 network card with virtio-net. 2009-04-30 22:39:36 +01:00
Richard Jones
36f9dac1a2 Added notes to the 'fsck' command documentation. 2009-04-30 19:32:58 +01:00
Richard Jones
62df226f26 Added 'zero' command to wipe partition tables and superblocks. 2009-04-30 19:28:54 +01:00
Richard Jones
0703248d23 Add generated code for 'fsck' command. 2009-04-30 18:57:07 +01:00
Richard Jones
c69c369530 Added 'fsck' command. 2009-04-30 18:56:55 +01:00
Richard Jones
f7e6ffa8a8 Autosync now runs umount-all; sync 2009-04-30 17:34:23 +01:00
Richard Jones
e4733575ef Fix umount_all command so it unmounts filesystems in the correct order. 2009-04-30 17:25:14 +01:00
Jim Meyering
41b959fd9b 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.
2009-04-30 16:13:06 +01:00
Richard Jones
3c5bcce927 Updated the generator so it only overwrites files if they've changed. 2009-04-30 15:43:11 +01:00
Richard Jones
abb447c32a Correction to 366a86fb60:
The code in fish/completion.c is generated, so update the generator instead.
2009-04-30 14:20:07 +01:00
Richard Jones
ab0397017c Use safe_malloc and/or check returns from malloc (Jim Meyering). 2009-04-30 14:01:53 +01:00