| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
This libguestfs 1.18-specific patch is necessary because something
(gcc? gnulib?) has enabled a strict -Wjump-misses-init warning, which
breaks libguestfs builds. In the development branch we fixed
everything (commit e128a627fb8f39f4f4c11b782cef895bd79f0282,
commit 74283d58cfb62e6cc73bfe0f62ca142ddc1e8fb2), but that patch is
too invasive to backport.
|
| |
|
|
|
|
|
|
|
|
| |
In particular the JVM executable is now called $JAVA_EXE.
This fixes commit 40b9c14ca9af3b31ea1cf5336142d63313bbae39.
(cherry picked from commit 684efb3706795bdd8cb0d4c026067fb4d70e23d1)
|
|
|
|
|
|
|
|
| |
Without this patch, if JAVAC points to a valid executable, --with-java-home=no
is not respected but the build simply fails.
Furthermore, --with{,out}-java is a more common form and more in-line with all
other options.
(cherry picked from commit 40b9c14ca9af3b31ea1cf5336142d63313bbae39)
|
|
|
|
|
|
|
|
| |
--disable-perl isn't currently respected because $PERL correctly points
to the perl executable and $missing_perl_modules doesn't prevent the
perl parts to be installed either. Thus, a check for $enable_perl is
needed.
(cherry picked from commit cab48ce73cb19b1aa8784e6c6a3cb8f47b0cbc0e)
|
| |
|
|
|
|
|
|
| |
host_cpu can be set to i686. The qemu binary is called
qemu-system-i386. Apply some sed to fix this.
(cherry picked from commit f21b866f3141bb85ebf93ccf0c906ab0b73960f9)
|
|
|
|
|
|
|
| |
This is a patch taken from libvirt. See:
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349
(cherry picked from commit 06780a92b3e4ea14c09a169cc1d22c1371621fc3)
|
|
|
|
|
|
|
|
| |
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
RWMJ:
Fixed whitespace in generator_xdr.ml
(cherry picked from commit d74e7fad28ae7a2f894a12d30807f4b36078bf13)
|
|
|
|
|
|
|
|
|
|
|
| |
--enable-daemon
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
RWMJ:
- Test was in the wrong place (before --enable-daemon had been
detected) so I moved it later.
(cherry picked from commit 9519c60ce565437c91ce23ceb380f3bfe49ec224)
|
|
|
|
|
| |
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
(cherry picked from commit ef1a8446a659fe3647d755334703a1020a0f88dc)
|
|
|
|
|
| |
This is just a rename.
(cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
|
|
|
|
|
|
|
|
|
| |
This uses Pod::Simple so it properly parses the input POD and can
generate proper custom output as required specifically by libguestfs.
One immediate benefit is that links between and within manual pages
now work mostly correctly.
(cherry picked from commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a)
|
|
|
|
|
| |
Some of the generated files anyway.
(cherry picked from commit 3a442e66170518f725b92a1041546d81fde95492)
|
|
|
|
|
|
| |
This will allow us to easily change the location of this
script in future.
(cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Linux, sync(2) does not actually issue a write barrier, thus it
doesn't force a flush of the underlying hardware write cache (or
qemu's disk cache in the virtual case).
This can be a problem, because libguestfs relies on running sync in
the appliance, followed by killing qemu (using SIGTERM).
In most cases, this is fine, because killing qemu with SIGTERM should
cause it to flush out the disk cache before it exits. However we have
found various bugs in qemu which cause qemu to crash while doing the
flush, leaving the data unwritten (see RHBZ#836913).
The solution is to issue fsync(2) to the block devices. This has a
write barrier, so it ensures that qemu writes out its cache long
before we get around to killing qemu.
(cherry picked from commit c0a3c9ce70b98171e737e49e6dccc4457963f2ec)
|
|
|
|
|
|
|
|
|
|
| |
On Debian, the Ruby C extensions library isn't '-lruby', it's
something like '-lruby1.8' or '-lruby-1.9.1' and these can even be
parallel-installed.
Fix detection so we use Ruby's own rbconfig.rb file to find the right
library to use.
(cherry picked from commit cba49169094f04dead9b165b6b5991afa92132ff)
|
|
|
|
|
| |
No functional change.
(cherry picked from commit b07d0968823d008776345a1c724713d2320e1571)
|
|
|
|
| |
(cherry picked from commit b9f858e5eefa0d2abae5ff0a61a39b0d34334bc1)
|
| |
|
|
|
|
|
| |
This function was first added to Ruby in 1.8.7.
(cherry picked from commit 8098d062b4cb70defd4aecba0ba8cd75cf893751)
|
|
|
|
|
|
|
| |
If -lruby was not available, this used to define HAVE_LIBRUBY=0.
However this meant that the later test -n "$HAVE_LIBRUBY" would
be successful, whereas it should fail in this case.
(cherry picked from commit 823ba05ebd8f1a12574a3f154aaf7c8b4f2aeeac)
|
| |
|
|
|
|
|
| |
This didn't exist on ancient autoconf in RHEL 5.
(cherry picked from commit 489da3ccdf96e995d3f53fe68eced37b16baa1d2)
|
|
|
|
|
|
|
|
| |
RHEL 5-era FUSE didn't have this function.
I copied the function out of upstream FUSE, since the license is
compatible.
(cherry picked from commit 4846b84476015874d569c14c2c30fcd71aa4d54c)
|
|
|
|
|
| |
For our purposes, the two tools are compatible.
(cherry picked from commit 87de36670108a19b832e8f5ded8d413e7b575d70)
|
| |
|
|
|
|
|
|
|
| |
types (RHBZ#823887).
Thanks Laszlo Ersek.
(cherry picked from commit 8e8a5764293d1b6bc3dbfb9409722e4c13384aec)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This flag allows extra QEMU options to be passed on the command line.
This is useful mainly on arm (see the notes in the updated README
file).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
'./configure --disable-probes' will disable these probes. Otherwise
they are autodetected as before.
The <sys/sdt.h> produces lots of errors when you try to compile with
these probes enabled under clang, so it is necessary to provide a way
to disable them for clang users.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds a tests/xml directory, and an LD_PRELOAD module which
can fake arbitrary libvirt XML from an external file (and is therefore
a much more flexible test than using the libvirt test:// driver
alone).
Also added is one regression test for:
https://bugzilla.redhat.com/show_bug.cgi?id=701814
Loading the given libvirt XML using Sys::Guestfs::Lib::open_guest
used to fail with the error:
format parameter is empty or contains disallowed characters at /home/rjones/d/libguestfs/perl/blib/lib/Sys/Guestfs/Lib.pm line 256.
Thanks to Tom Horsley for supplying the test data.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Note that this support is optional: To enable it, install the
ocaml-gettext library from
http://forge.ocamlcore.org/projects/ocaml-gettext . If this library
is not installed, then configure detects this and inserts dummy
gettext functions that do nothing.
|
|
|
|
|
| |
Replace the sociopathic nonsense in gettextize with a simple
Makefile.am which does the same ... and is faster.
|
|
|
|
|
| |
virt-resize, virt-sparsify, virt-sysprep are all OCaml tools, so
change what is printed in the report.
|
| |
|
|
|
|
| |
Since it describes the C library, it's better in the src/ directory.
|