| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
This API was dropped as there are some problems with it. This
commit adds the original test code, but commented out.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is an internal-only debugging API so may be changed or
removed at any time in the future.
|
|
|
|
|
| |
This internal interface can be used to ensure that certain
operations are atomic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
However it is used by the daemon.
|
| |
|
| |
|
|
|
|
| |
This reverts commit a0f85ba643990da25b6afe6a2bbd2407cf312c73.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
This disables the PHP language bindings.
|
|
|
|
|
| |
Only test for these if $PERL is defined, and use $PERL as
the interpreter.
|
|
|
|
| |
This disables the Haskell language bindings.
|
|
|
|
| |
This disables the Ruby language bindings.
|
| |
|
|
|
|
| |
This disables the Python language bindings.
|
|
|
|
| |
This disables the Perl bindings.
|
|
|
|
|
|
| |
This program is obsolete and the code has been reused for
guestfs-browser here:
http://people.redhat.com/~rjones/guestfs-browser/
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
If this option is specified, FUSE support is unconditionally
disabled.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(Thanks Eric Blake).
|
|
|
|
|
|
|
|
| |
eval "$(guestfish --listen)"
instead of various other forms.
(Thanks Eric Blake).
|
|
|
|
|
|
|
| |
Don't depend on bash, but allow sh/dash/etc format:
GUESTFISH_PID=nn; export GUESTFISH_PID
(Thanks Eric Blake).
|
|
|
|
|
| |
Return the roots found by the last call to inspect-os, but
without redoing the whole inspection.
|
|
|
|
| |
For example, it may just have been added.
|
| |
|
| |
|
|
|
|
|
| |
Public headers use va_list, and this gives an error unless <stdarg.h>
had been included before the header.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Before libguestfs 1.0.69 we needed to look in src/guestfs.c to
see all the API calls.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
This fixes commit f661db2c393d1b7e4211c55682b7fac82a70e36d.
|
| |
|
|
|
|
|
|
| |
Existing command lookups are approx O(n^2). Replace this
with a perfect hash implementation which should be a lot
faster.
|