summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove generated files guestfs_protocol.[ch].Richard W.M. Jones2009-07-022-4366/+0
| | | | | | These generated files were accidentally left in when we removed the other generated files in cset b3cb0b04eb2d38ba32c160a83d8e3894b376907b.
* Add ./configure --with-drive-if=(ide|scsi|virtio)Richard W.M. Jones2009-07-022-4/+4
| | | | | | | | 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 list of function_names to the daemon.Richard W.M. Jones2009-07-021-0/+20
| | | | | Messages which include the proc_nr can now also include the name of the actual function being called.
* 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-021-0/+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-021-24/+45
| | | | This speeds up the generator greatly.
* Remove generated code from git.Richard W.M. Jones2009-07-026-14434/+0
| | | | | | | | 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-022-3/+23
|
* Add 'readdir' call.Richard W.M. Jones2009-07-0210-26/+581
| | | | | | | | | | | | 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.
* Change to use virtio_blk (virtio block device) by default.Richard W.M. Jones2009-07-012-14/+20
| | | | | | | | | | | | | 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.
* 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.
* Generated code for mknod, mkfifo, mknod_b, mknod_c, umask.Richard W.M. Jones2009-06-306-2/+760
|
* New commands: mknod, mkfifo, mknod_b, mknod_c and umask.Richard W.M. Jones2009-06-301-0/+70
| | | | | | | | | | 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-301-0/+2
|
* Add 'set_memsize'/'get_memsize' calls.Richard W.M. Jones2009-06-302-11/+62
| | | | | | Allow the qemu memory size to be specified either by API calls or by setting the LIBGUESTFS_MEMSIZE environment variable.
* Generated code for the 'mkswap*' commands.Richard W.M. Jones2009-06-296-2/+347
|
* Implement 'mkswap', 'mkswap_L' and 'mkswap_U' commands.Richard W.M. Jones2009-06-291-0/+24
| | | | | | 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.
* Fix for 'broken pipe' error when qemu dies (RHBZ#508713).Richard W.M. Jones2009-06-291-2/+5
|
* Generated code for mount-loop command.Richard W.M. Jones2009-06-296-2/+119
|
* Add mount-loop command (RHBZ#508668).Richard W.M. Jones2009-06-291-0/+8
| | | | | | | | | Loop device mounts don't work for the generic 'mount' commands because the first parameter should be a file not a device. We want to separate out files parameters from device parameters in the long term, so this adds a new mount-loop command for this purpose.
* Generated code for 'initrd-list'.Richard W.M. Jones2009-06-296-2/+148
|
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-0/+16
| | | | | | Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.
* Generated code for 'du' command.Richard W.M. Jones2009-06-296-2/+139
|
* Added 'du' command.Richard W.M. Jones2009-06-291-0/+16
| | | | This command estimates file usage for files and directories.
* Generated code for df / df-h.Richard W.M. Jones2009-06-296-2/+226
|
* Add 'df' and 'df-h' commands.Richard W.M. Jones2009-06-291-0/+25
| | | | | | | df and df-h commands can be used interactively to show disk space usage. Use existing statvfs command from programs.
* Generated code for head/tail commands.Richard W.M. Jones2009-06-296-12/+608
|
* Implement "head", "head-n", "tail", "tail-n" commands.Richard W.M. Jones2009-06-291-0/+58
| | | | | These commands let you view parts of a large file without passing the whole file over the network connection.
* Prevent 'n' being used as a parameter name.Richard W.M. Jones2009-06-291-3/+3
| | | | | Parameters named 'n' sometimes break the Perl bindings, so check for this in the generator and prevent it.
* Generated code for 'wc_*' commands.Richard W.M. Jones2009-06-296-2/+413
|
* Implementation of 'wc_c', 'wc_w' and 'wc_l' commands.Richard W.M. Jones2009-06-291-0/+27
| | | | These commands count characters, words and lines in a file respectively.
* Implement TEST_ONLY environment variable to run selected tests only.Richard W.M. Jones2009-06-291-2/+5
| | | | | To run just selected tests, do: TEST_ONLY="hexdump mkfs" make -C capitests check
* Add large test files with standard content for the C API test.Richard W.M. Jones2009-06-291-1/+7
| | | | | Large test files with standard content for the C API test, and add a regression test for previous hexdump failure on large files.
* Haskell bindings: Implement bindtests.Richard W.M. Jones2009-06-281-2/+33
|
* Haskell bindings: Int and Int64 return types.Richard W.M. Jones2009-06-281-3/+3
|
* Haskell bindings: fix boolean arguments.Richard W.M. Jones2009-06-281-5/+2
|
* Haskell bindings: Fix integer arguments.Richard W.M. Jones2009-06-281-10/+13
|
* Clarify documentation for mkdtemp.Richard W.M. Jones2009-06-241-3/+6
|
* Generated code for 'mkdtemp' command.Richard W.M. Jones2009-06-246-2/+139
|
* Add mkdtemp command.Richard W.M. Jones2009-06-241-0/+22
|
* Version 1.0.52.1.0.52Richard W.M. Jones2009-06-241-1/+2
|
* Implement libtool library versioning.Richard W.M. Jones2009-06-233-1/+61
| | | | | | | | Use maximum proc_nr (MAX_PROC_NR) as a surrogate for the library ABI version, resulting in version numbers such as libguestfs.so.0.<MAX_PROC_NR>.0 for the final library. Add ABI guarantee to the documentation.
* Generated code for 'scrub-*' commands.Richard W.M. Jones2009-06-235-1/+334
|
* Added 'scrub-*' commands for securely scrubbing filesystems.Richard W.M. Jones2009-06-231-1/+41
|
* Bump up default guest size to 500M.Richard W.M. Jones2009-06-231-1/+1
|
* Command line argument handling.Richard W.M. Jones2009-06-232-4/+107
|
* '-no-kqemu' option is no longer necessary to avoid a warning.Richard W.M. Jones2009-06-231-3/+0
|