summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* capitests: Add the code to test (proposed) add-libvirt-dom C API.Richard W.M. Jones2010-11-114-0/+171
| | | | | This API was dropped as there are some problems with it. This commit adds the original test code, but commented out.
* fish: Use core add-domain API to implement '-d' option.Richard Jones2010-11-116-202/+31
| | | | | | This also makes libxml2 and libvirt into optional dependencies. If they are missing then the core API will print an error, as will the '-d' option to guestfish.
* New API: add-domainRichard Jones2010-11-117-9/+467
| | | | | | | | | | | | | | | | | | | This new API allows you to add the disks from a libvirt domain. In guestfish you can use the 'domain' command to access the API, eg: ><fs> domain Fedora14 libvirturi:qemu:///system 1 The returned number is the number of disks that were added. Also here is a proposed (but commented out) low-level API which would allow you to add a domain from a virDomainPtr. However there are several problems with this API -- see discussion on the list: https://www.redhat.com/archives/libguestfs/2010-November/thread.html#00028
* generator: Add Pointer parameter type to the generator.Richard Jones2010-11-1017-26/+95
| | | | | | | | | | | | | | | | | | | This allows generic "foo *bar" pointers to be passed to library functions (not to daemon functions). In the language bindings (except Perl) these are handled as generic int64s with the assumption being that any pointer can be converted to and from this. There is room to add specific support for some pointer types in future by specializing the match cases. However this is inherently tricky because it depends on the implementation details of other bindings (eg. to support virDomainPtr in OCaml depends on the implementation details of the ocaml-libvirt project). Perl is slightly different in that you have to supply a typemap. Again this would depend on the implementation detail of an external library unless you supplied a generic typemap for int64.
* New API: debug-cmdline for printing QEMU command line (internal only).Richard W.M. Jones2010-11-102-0/+31
| | | | | This is an internal-only debugging API so may be changed or removed at any time in the future.
* Add internal facility to checkpoint and roll back the command line.Richard Jones2010-11-102-0/+22
| | | | | This internal interface can be used to ensure that certain operations are atomic.
* lib: Make pcre, libmagic and hivex libraries optional.Richard Jones2010-11-109-451/+674
| | | | | | | | | | | | | | | This change makes these libraries optional. If they are not available at compile time then certain core API features will be disabled (see below). This also changes PCRE detection to use pkg-config instead of the ad hoc autoconf checks. The large inspect.c file has been split out into separate function-specific files. file-architecture: requires pcre & libmagic inspection: requires pcre & hivex
* Don't include debug* commands in the documentation.Richard W.M. Jones2010-11-101-2/+2
|
* capitests: Add whitespace in Makefile.Richard W.M. Jones2010-11-101-0/+1
|
* inspect: win64 regexp was dead code.Richard Jones2010-11-101-2/+0
|
* lib: Augeas (client side) is not needed by the library.Richard Jones2010-11-103-8/+3
| | | | However it is used by the daemon.
* ocaml: Error on compiler warnings.Richard Jones2010-11-091-1/+1
|
* ruby: Remove extra space before parenthesis.Richard Jones2010-11-091-1/+1
|
* Revert "autogen: Touch ocaml/.depend"Richard Jones2010-11-081-4/+0
| | | | This reverts commit a0f85ba643990da25b6afe6a2bbd2407cf312c73.
* Revert "Remove ocaml/.depend from git."Richard Jones2010-11-083-5/+5
| | | | | | | | | This reverts commit 064569bcbf854a9cf588ce31851d987d5f114ec8. This commit does the wrong thing: creating an empty ocaml/.depend file is wrong because building the OCaml bindings will fail. Not having this file will prevent automake from running. Therefore this file has to exist with the correct content in git.
* Version 1.7.3.1.7.3Richard W.M. Jones2010-11-0817-11319/+11733
|
* build: Create an AUTHORS file.Richard W.M. Jones2010-11-082-0/+21
|
* build: Don't try to rebuild po-docs/<lang> if no po4a.Maxim Koltsov2010-11-081-2/+6
|
* build: Add ./configure --disable-php option.Maxim Koltsov2010-11-081-5/+14
| | | | This disables the PHP language bindings.
* build: Test for virt tools Perl libraries conditionally.Richard W.M. Jones2010-11-081-13/+16
| | | | | Only test for these if $PERL is defined, and use $PERL as the interpreter.
* build: Add ./configure --disable-haskell option.Maxim Koltsov2010-11-081-2/+10
| | | | This disables the Haskell language bindings.
* build: Add ./configure --disable-ruby option.Maxim Koltsov2010-11-081-3/+9
| | | | This disables the Ruby language bindings.
* build: Warn if Python include or site-packages not found.Maxim Koltsov2010-11-081-0/+6
|
* build: Add ./configure --disable-python option.Maxim Koltsov2010-11-081-43/+50
| | | | This disables the Python language bindings.
* build: Add ./configure --disable-perl option.Maxim Koltsov2010-11-081-19/+26
| | | | This disables the Perl bindings.
* ocaml: Remove the old OCaml viewer program.Richard W.M. Jones2010-11-089-764/+1
| | | | | | This program is obsolete and the code has been reused for guestfs-browser here: http://people.redhat.com/~rjones/guestfs-browser/
* build: Add ./configure --disable-ocaml option.Maxim Koltsov2010-11-081-8/+20
| | | | | | This can be used to disable the OCaml bindings. Note that OCaml is still required in any case where you need to rerun the generator.
* build: Add ./configure --disable-fuse option.Maxim Koltsov2010-11-081-6/+10
| | | | | If this option is specified, FUSE support is unconditionally disabled.
* supermin: If disabled, don't compile in supermin code or check for supermin.Richard W.M. Jones2010-11-082-6/+12
| | | | | | | | | | | | If supermin is disabled at compile time and the user just wants to use the ordinary appliance, there is no need to compile in all the supermin code, and in particular there is no need to check for the supermin appliance (which involves running febootstrap-supermin-helper that probably doesn't exist). This fixes a warning message observed under Debian w/o supermin: sh: febootstrap-supermin-helper: command not found
* fish: Add --rw option (does nothing yet).Richard W.M. Jones2010-11-085-8/+66
| | | | | | | | | | This adds the guestfish --rw option, intended in future to be required for writing to disk images. At the moment this does not change the default and so does nothing. This patch is intended for backporting to the stable branches so that we can start to introduce scripts which use 'guestfish --rw'.
* Add missing generated files to the tarball (thanks maksbotan).Richard W.M. Jones2010-11-075-2/+30
| | | | | | | | C# bindings were omitted entirely. Add a Makefile.am for this directory even though we don't build these. Because of a missing backslash, some POD files were not being included.
* fish: Add --listen --csh to for csh, tcsh compatibility.Richard W.M. Jones2010-11-054-1/+24
| | | | (Thanks Eric Blake).
* fish: Suggest safer form of eval.Richard W.M. Jones2010-11-051-4/+4
| | | | | | | | eval "$(guestfish --listen)" instead of various other forms. (Thanks Eric Blake).
* fish: More portable export sh statment.Richard W.M. Jones2010-11-051-1/+1
| | | | | | | Don't depend on bash, but allow sh/dash/etc format: GUESTFISH_PID=nn; export GUESTFISH_PID (Thanks Eric Blake).
* New API: inspect-get-roots to return roots from last inspection.Richard W.M. Jones2010-11-052-20/+47
| | | | | Return the roots found by the last call to inspect-os, but without redoing the whole inspection.
* generator: Don't die if an API call isn't listed in API versions file.Richard W.M. Jones2010-11-053-7/+9
| | | | For example, it may just have been added.
* Version 1.7.2.1.7.2Richard W.M. Jones2010-11-0517-10725/+11908
|
* configure: Test for 'kvm' binary.Guido Günther2010-11-051-1/+1
|
* Include <stdarg.h> in public header.Guido Günther2010-11-051-0/+1
| | | | | Public headers use va_list, and this gives an error unless <stdarg.h> had been included before the header.
* Don't print out key material in trace output.Richard W.M. Jones2010-11-051-2/+4
|
* fish: '-i' option automatically handles whole-disk encryption.Richard W.M. Jones2010-11-0511-67/+199
| | | | | | | | | | | This feature is also available in guestmount because of the shared option parsing code. You don't need to do anything to enable it, just using -i will attempt decryption of encrypted partitions. Only works for simple Fedora whole-disk encryption. It's a work-in-progress to make it work for other types of encryption.
* docs: Fix API support script.Richard W.M. Jones2010-11-04176-28/+6066
| | | | | Before libguestfs 1.0.69 we needed to look in src/guestfs.c to see all the API calls.
* fish: Fix missing guestfish commands in HTML docs.Richard W.M. Jones2010-11-041-1/+1
|
* fish: Make the 'help' command more helpful.Richard W.M. Jones2010-11-046-4/+68
|
* docs: Which API calls were first supported in which upstream versions.Richard W.M. Jones2010-11-04184-5/+40853
| | | | | | | | Run src/api-support/update-from-tarballs.sh (this won't work unless you have a local copy of the tarballs from the website). src/api-support/added contains the result of running the script, a list of pairs: (API name, version first appeared).
* virt-win-reg: Current is the control set Windows chooses at boot.Richard W.M. Jones2010-11-031-1/+1
|
* HACKING: Mention PHP bindings.Richard W.M. Jones2010-11-031-0/+3
|
* docs: Indent *_va and *_argv functions correctly.Richard W.M. Jones2010-11-031-7/+7
| | | | This fixes commit f661db2c393d1b7e4211c55682b7fac82a70e36d.
* Version 1.7.1.1.7.1Richard W.M. Jones2010-11-0317-12531/+13379
|
* fish: Use a perfect hash for faster command lookups.Richard W.M. Jones2010-11-036-70/+191
| | | | | | Existing command lookups are approx O(n^2). Replace this with a perfect hash implementation which should be a lot faster.