| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit f6c4026f85fa6ded33a51ec2757abda9f116fd5f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Cherry picked from commit a0b4caa0821b759de01361b7019c9c9c9607027d.
|
|
|
|
|
|
| |
However it is used by the daemon.
Cherry picked from commit b52183b5491748d9e979d30e55db6d648b102416.
|
|
|
|
|
| |
This disables the PHP language bindings.
(cherry picked from commit b0a48fa4504f85baa484987f54d8f99703e3ed3b)
|
|
|
|
|
|
| |
Only test for these if $PERL is defined, and use $PERL as
the interpreter.
(cherry picked from commit 8e4a4d3d88b814504c6f2abbf6bf3dab789021b1)
|
|
|
|
|
| |
This disables the Haskell language bindings.
(cherry picked from commit ada875642332b56acbf75d68e964f2f16ca50530)
|
|
|
|
|
| |
This disables the Ruby language bindings.
(cherry picked from commit 5b99e1b983b38d3405662c1e2b16f2731d465ce3)
|
|
|
|
| |
(cherry picked from commit 041969480a2712311c2a82a0c118426793a9b338)
|
|
|
|
|
| |
This disables the Python language bindings.
(cherry picked from commit 3a7eb8ebdb47878ab9bd6b8aff88744365179f87)
|
|
|
|
|
| |
This disables the Perl bindings.
(cherry picked from commit 57c74708ca4e00db259903998b67489e50b8d12b)
|
|
|
|
|
|
|
| |
This program is obsolete and the code has been reused for
guestfs-browser here:
http://people.redhat.com/~rjones/guestfs-browser/
(cherry picked from commit 53c524819323dcea8d5e3d56ff4fc6cf49b6c64f)
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit af7af2fc5e48e4efecd1f65b60e61b88733161b9)
|
|
|
|
|
|
| |
If this option is specified, FUSE support is unconditionally
disabled.
(cherry picked from commit 428a45c3e15f03e9861e1b551e1ae8da821dba5f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit 4e656a61d40ff51e63aa06d857c40c14ff31ddb9)
|
|
|
|
|
|
|
|
|
|
| |
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.
Cherry picked from commit 26118d498eefe10c8fa604f949680d2417c8b25c.
|
| |
|
|
|
|
| |
(cherry picked from commit e51d6724d55c3a8c39b97c23abdf0b6168833e10)
|
|
|
|
|
|
|
| |
Existing command lookups are approx O(n^2). Replace this
with a perfect hash implementation which should be a lot
faster.
(cherry picked from commit 58915725b1e464f7d447c0051ad916fbc1a82210)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The --with-repo parameter is also used by Debian to specify
the Debian software repository, so remove references to
Fedora.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This large commit changes the generator so that optional arguments
can be supported for functions.
The model for arguments (known as the "style") is changed from
(ret, args) to (ret, args, optargs) where optargs is a more limited
list of arguments.
One function has been added which takes optional arguments, it is
"add-drive-opts", modelled as:
(RErr, [String "filename"], #required
[Bool "readonly"; String "format"; String "iface"]) #optional
Note that this function is processed in the library (does not go over
the RPC protocol to the daemon). This has allowed us to simplify
the current implementation by omitting changes related to RPC or the
daemon, although we plan to add these at some point in the future.
From C this function can be called in 3 different ways as in these
examples:
guestfs_add_drive_opts (g, filename,
GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,
GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",
-1);
(the argument(s) between 'filename' and '-1' are the optional ones).
guestfs_add_drive_opts_va (g, filename, args);
where 'args' is a va_list. This works like the first version.
struct guestfs_add_drive_opts_argv optargs = {
.bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK,
.readonly = 1,
}
guestfs_add_drive_opts_argv (g, filename, &optargs);
This last form lets you construct lists of optional arguments, and
is used by guestfish and the language bindings.
In guestfish optional arguments are used like this:
add-drive-opts filename readonly:true
In OCaml these are mapped naturally to OCaml optional arguments, eg:
g#add_drive_opts ~readonly:true filename;
In Perl these are mapped to extra arguments, eg:
$g->add_drive_opts ($filename, readonly => 1);
In Python these are mapped to optional arguments, eg:
g.add_drive_opts ("file", readonly = 1, format = "qcow2")
In Ruby these are mapped to a final hash argument, eg:
g.add_drive_opts("file", {})
g.add_drive_opts("file", :readonly => 1)
g.add_drive_opts("file", :readonly => 1, :iface => "virtio")
In PHP these are mapped to extra parameters. This is not quite
accurate since you cannot omit arbitrary optional parameters, but
there's not much than can be done within the limitations of PHP
as a language.
Unimplemented in: Haskell, C#, Java.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
All other vmchannel methods are obsolete, but we were still trying
to check for them. This replaces all of them with a simple check
for virtio-serial.
|
| |
|
| |
|
|
|
|
|
| |
hivex library has been required since we moved the inspection
code to C. Check for this in configure.ac.
|
| |
|
|
|
|
|
|
| |
Augeas has been required since we moved the inspection code to C,
however we were not correctly enforcing this in configure.ac, nor
correctly linking to the library until now.
|
|
|
|
|
|
|
|
|
|
| |
'src/generator.ml' is no more. Instead the generator is logically
split up over many different source files.
Read generator/README for help and tips.
We compile the generator down to bytecode, not native code. This
means it will run more slowly, but is done for maximum portability.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Note that these are not complete on 32 bit architectures. PHP doesn't
offer any convenient 64 bit type (on 32 bit). Therefore you should
always use these PHP bindings on 64 bit.
|