summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Don't rebuild the whole appliance if just the /init script has been changed.Richard W.M. Jones2009-07-023-11/+7
| |
| * Improve virtio-blk performance (RHBZ#509383).Richard W.M. Jones2009-07-021-0/+3
| |
| * Add ./configure --with-drive-if=(ide|scsi|virtio)Richard W.M. Jones2009-07-023-4/+16
| | | | | | | | | | | | | | | | With this flag the packager can decide to default to a particular qemu drive model. The current default is 'ide', however note that we intend to change this in future to 'virtio' once some upstream regressions are fixed. Packagers can force a particular drive model if they wish.
| * Add the guestfish 'time' command.Richard W.M. Jones2009-07-025-9/+85
| | | | | | | | | | ><fs> time sfdisk /dev/sda 0 0 0 , elapsed time: 6.12 seconds
| * Add list of function_names to the daemon.Richard W.M. Jones2009-07-025-2/+29
| | | | | | | | | | Messages which include the proc_nr can now also include the name of the actual function being called.
| * In verbose mode, daemon will display the time elapsed for each command.Richard W.M. Jones2009-07-021-0/+19
| |
| * Ignore generated file appliance/debian/debirf.confRichard W.M. Jones2009-07-021-0/+1
| |
| * Build Debian based appliance using debirfGuido Günther2009-07-022-123/+139
| |
| * add debirf filesGuido Günther2009-07-0213-0/+118
| |
| * unconditionally load dm moduleGuido Günther2009-07-021-1/+1
| | | | | | | | needed for device mapper (LVM)
| * add missing moduleGuido Günther2009-07-021-0/+1
| | | | | | | | for modularized Debian kernels
| * avoid automake failureJim Meyering2009-07-021-1/+1
| | | | | | | | * daemon/configure.ac: Use AM_PROG_CC_C_O, not AC_PROG_CC_C_O.
| * arrange to build some generated sourcesJim Meyering2009-07-021-0/+9
| | | | | | | | | | * src/Makefile.am (BUILT_SOURCES): Define. ($(BUILT_SOURCES)): Depend on stamp-generator.
| * Re-add src/MAX_PROC_NR (generated file).Richard W.M. Jones2009-07-022-1/+1
| | | | | | | | | | This file is required by configure, so we need to add it so it is available after the git checkout.
| * Memoize the output of pod2text function in the generator.Richard W.M. Jones2009-07-022-24/+46
| | | | | | | | This speeds up the generator greatly.
| * Updated PO files.Richard W.M. Jones2009-07-022-108/+108
| |
| * Remove generated code from git.Richard W.M. Jones2009-07-0238-82609/+38
| | | | | | | | | | | | | | | | Git users now require the OCaml compiler in order to regenerate the generated code after a checkout. Generated code will remain in the tarball, so users of the source tarball will not need the OCaml compiler.
| * Generator now runs automatically when it has changed.Richard W.M. Jones2009-07-024-7/+24
| |
| * Add 'readdir' call.Richard W.M. Jones2009-07-0236-37/+1287
| | | | | | | | | | | | | | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.
| * fish: handle some out-of-memory conditionsJim Meyering2009-07-011-29/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | * fish/destpaths.c (xalloc_oversized): Define. (complete_dest_paths_generator): Use size_t as type for a few variables, rather than int. Don't deref NULL or undef on failed heap alloc. Don't leak on failed realloc. Detect theoretical overflow when count_strings returns a very large number of strings. Handle asprintf failure. (APPEND_STRS_AND_FREE): Rewrite as do {...}while(0), so that each use can/must be followed by a semicolon. Better for auto-formatters.
| * Call 'udevadm settle' after operations which add/remove device nodes.Richard W.M. Jones2009-07-014-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | Because udev operates asynchronously, we found errors which were caused by a previous command (eg. sfdisk or pvremove) creating or removing a device, and that change not having happened by the time the next command was run. This patch adds calls to '/sbin/udevadm settle' after any commands which can add or remove device nodes. If udev is not being used or not available, this should have no effect. The command fails and this is silently ignored.
| * All instances of 'pclose' now check for return value != 0.Richard W.M. Jones2009-07-013-6/+6
| | | | | | | | | | | | We are generally interested that the subcommand ran without error, ie. had exit status of 0. 'pclose' returns the exit status, so we now check that pclose (fp) != 0.
| * Fix error handling of external sfdisk command.Richard W.M. Jones2009-07-011-4/+3
| | | | | | | | | | | | | | | | Should use 'pclose' instead of 'fclose' (although fclose happens to work because of glibc internals). The result of pclose is the exit status of the command, so we need to test this is != 0.
| * Generated code for the virtio_blk change.Richard W.M. Jones2009-07-017-288/+233
| |
| * Change to use virtio_blk (virtio block device) by default.Richard W.M. Jones2009-07-014-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | virtio_blk is the fast, virt-native block device driver supported by qemu and KVM. Note that virtio_blk device names are called /dev/vd*. Existing scripts should continue working because device name translation will silently change device names of the form /dev/sd* to /dev/vd* as required. See also: http://libguestfs.org/guestfs.3.html#block_device_naming
| * Don't dereference or free undefined "msg" upon OOM.Jim Meyering2009-07-011-1/+3
| | | | | | | | * src/guestfs.c (guestfs_error): Handle failing vasprintf.
| * Add libguestfs(3) as an alias manpage for guestfs(3).Richard W.M. Jones2009-07-012-2/+4
| |
| * Updated PO files.Richard W.M. Jones2009-07-012-112/+112
| |
| * Reorder the environment variables alphabetically in the documentation.Richard W.M. Jones2009-07-012-29/+29
| |
| * Document the $PAGER environment variable.Richard W.M. Jones2009-07-011-0/+5
| |
| * Document the LIBGUESTFS_MEMSIZE environment variable.Richard W.M. Jones2009-07-012-0/+14
| |
| * Change statvfs test so it doesn't depend on device size.Richard W.M. Jones2009-06-301-2/+1
| | | | | | | | | | | | | | | | Current statvfs test depended on a lot of filesystem details which can change if the CHS of the underlying block device changes (eg. with the switch from IDE -> virtio). These are not really necessary to test the call, so instead just check for filesystem features.
| * Clean up the output of the C API test code.Richard W.M. Jones2009-06-301-4/+6
| | | | | | | | | | | | | | Set output mode to unbuffered so that we see ordinary output messages and errors at the same time. Align "skipped" messages.
| * Todo: getfattr, setfattr.Richard W.M. Jones2009-06-301-0/+2
| |
| * Whitelist kernel modules for hardware emulated by QEMUGuido Günther2009-06-301-4/+13
| | | | | | | | | | (Modified from Guido's original patch to use a wildcard to specify all virtio modules - RWMJ).
| * Generated code for mknod, mkfifo, mknod_b, mknod_c, umask.Richard W.M. Jones2009-06-3025-4/+2572
| |
| * New commands: mknod, mkfifo, mknod_b, mknod_c and umask.Richard W.M. Jones2009-06-305-2/+187
| | | | | | | | | | | | | | | | | | | | These commands are used to create block and char device nodes or FIFOs (named pipes) in the filesystem. The umask command is required also because the permissions used by mknod are masked by the umask. Also document and guarantee that the umask starts as 022.
| * Use octal numbers for modes in the test suite.Richard W.M. Jones2009-06-301-23/+23
| | | | | | | | | | We have to use the OCaml convention (0o...). Note that in OCaml 0777 is a _decimal_ number. It'll catch you out.
| * Generated code for 'set_memsize'/'get_memsize' calls.Richard W.M. Jones2009-06-3017-0/+438
| |
| * Add 'set_memsize'/'get_memsize' calls.Richard W.M. Jones2009-06-303-16/+62
| | | | | | | | | | | | Allow the qemu memory size to be specified either by API calls or by setting the LIBGUESTFS_MEMSIZE environment variable.
| * Use udev if available (Guido Gunter).Guido Günther2009-06-302-19/+30
| | | | | | | | Added support for Fedora's udev (Richard Jones).
| * define REDHAT and DEBIANGuido Günther2009-06-303-8/+21
| | | | | | | | so we can preprocess packagelist.in
| * Todo: Suggest an environment variable for memsize configuration.Richard W.M. Jones2009-06-291-0/+1
| |
| * Generated code for the 'mkswap*' commands.Richard W.M. Jones2009-06-2924-4/+1235
| |
| * Implement 'mkswap', 'mkswap_L' and 'mkswap_U' commands.Richard W.M. Jones2009-06-293-0/+95
| | | | | | | | | | | | These commands are used to make Linux swap devices. The mkswap_L command makes one with a label. The mkswap_U command makes one with a known UUID.
| * Todo: Allow memsize to be configured.Richard W.M. Jones2009-06-291-0/+4
| |
| * Todo: Investigations into 'binarch' command.Richard W.M. Jones2009-06-291-0/+9
| |
| * Rearrange guestfish commands in the manpage.Richard W.M. Jones2009-06-291-21/+26
| |
| * Add missing documentation for new 'more' and 'less' commands in guestfish.Richard W.M. Jones2009-06-291-0/+14
| |
| * Version 1.0.541.0.54Richard W.M. Jones2009-06-293-111/+161
| |