summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ruby: Add 'make install' rule for ruby bindings (RHBZ#652796).Richard W.M. Jones2010-11-121-0/+9
|
* todo: Notes on parsing.Richard W.M. Jones2010-11-121-0/+28
|
* New APIs: inspect-get-package-format, inspect-get-package-management.Richard Jones2010-11-124-49/+228
| | | | This APIs reimplement some parts of virt-inspector in C.
* capitests: Remove warning about dead definitions.Richard W.M. Jones2010-11-111-10/+10
| | | | This updates commit cb7ec8be4ce6068b6cbc6522a67826cdbd161024.
* Check that just including <guestfs.h> on its own works.Richard W.M. Jones2010-11-113-0/+40
|
* Don't need to include XDR headers in <guestfs.h>.Richard W.M. Jones2010-11-116-2/+9
| | | | | | | Include the XDR headers in the internal guestfs-internal.h instead. This is knock-on effects to several other source files which were implicitly relying on indirectly loaded headers.
* Be less verbose in the macros defending typedefs in <guestfs.h>.Richard W.M. Jones2010-11-111-16/+16
| | | | This updates commit 4d59e271046f2b5f0d9b1730cd23425fd631c76c.
* perl: Ignore debug functions in Test::Pod::Coverage.Richard W.M. Jones2010-11-111-1/+4
|
* Version 1.7.4.1.7.4Richard W.M. Jones2010-11-1117-14049/+14674
|
* build: xml-light is no longer required (thanks Maxim Koltsov).Richard W.M. Jones2010-11-116-53/+18
| | | | | | At some point we removed the last thing that required xml-light, but were still testing for it at various places in the build. This removes all traces.
* Rewrite virt-cat in C.Richard W.M. Jones2010-11-1112-225/+590
| | | | | | | | | | | | | | | | | With changes in the core API since 1.5, virt-cat was little more than a Perl wrapper which did some command line argument processing. Thus it could easily be rewritten in C. This version also shares core command line argument processing with guestfish and guestmount, so the options have changed slightly (old-style command line *is* supported). virt-cat -a disk.img file [file ...] virt-cat -d domname file [file ...] Several other guestfish options are supported including encryption, and with the new style multiple files can be downloaded. See the man page for details.
* Generate a dummy 'Fedora' fedora.img in images directory for use by tests.Richard W.M. Jones2010-11-1110-42/+53
| | | | | | | | We were generating this dummy 'Fedora' image already in the tools directory. It contains just enough Fedora-like files to fool our inspection code and thus to test the tools. This is general enough that we can use it everywhere.
* Defend all typedefs in <guestfs.h> with #ifdefs.Richard W.M. Jones2010-11-111-0/+29
| | | | | This allows other libraries to redefine those typedefs if they need to use but not depend on <guestfs.h>.
* lib: Make <guestfs.h> be completely generated.Richard W.M. Jones2010-11-115-132/+114
| | | | | This removes the 'not-quite-separate' guestfs-actions.h and guestfs-structs.h files.
* Fix small typo in a comment in src/Makefile.am.Richard W.M. Jones2010-11-111-1/+1
|
* 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.