Richard W.M. Jones
711de7796a
Version 1.18.12.
1.18.12
2013-04-11 18:33:38 +01:00
Richard W.M. Jones
f1a73f3281
valgrind suppressions: Suppress libmagic leaks.
2013-04-11 17:58:49 +01:00
Richard W.M. Jones
1534e3cd0a
daemon: file: Remove extraneous space after output of 'file' command (RHBZ#928995).
...
(cherry picked from commit d6ea2f5911 )
(cherry picked from commit ffefe26ec5 )
2013-04-11 16:47:52 +01:00
Richard W.M. Jones
3b7dd43d78
python: Let RHashtable be returned as a Python dict.
...
The initial proposal was suggested by Matt Booth and discussed on the
mailing list here:
https://www.redhat.com/archives/libguestfs/2013-April/msg00007.html
(cherry picked from commit ba0199c487 )
2013-04-11 16:47:52 +01:00
Richard W.M. Jones
d91a048c58
proto: Fix stack overflow when there are many progress events (RHBZ#909624).
...
Thanks: Eric Blake.
(cherry picked from commit b3cf5d1d96 )
2013-04-11 16:02:55 +01:00
Richard W.M. Jones
eda7274512
fuse: If guestfs_last_errno returns 0, don't return no error to FUSE layer.
...
guestfs_last_errno (g) == 0 doesn't mean "no error". It means the
errno was not captured. In this case we have to substitute some sort
of errno, so choose EINVAL arbitrarily.
(cherry picked from commit 28e34290ff )
2013-04-11 16:02:34 +01:00
Richard W.M. Jones
8e8978cb48
daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905).
...
The reasons to do this are twofold:
(a) It's probably a tiny bit faster.
(b) It lets us capture the real errno if the link(2) syscall fails.
The errno is also passed through guestmount, fixing RHBZ#895905:
+ guestmount -a test1.img -m /dev/sda1:/ -m /dev/sda2:/boot /tmp/mnt
+ touch /tmp/mnt/foo
+ cd /tmp/mnt
+ ln foo boot/foo
ln: failed to create hard link ‘boot/foo’ => ‘foo’: Invalid cross-device link
(cherry picked from commit 533082e282 )
2013-04-11 16:02:15 +01:00
Richard W.M. Jones
709594e1b0
Revert "perl: Small test of create with flags."
...
This reverts commit f5cab066da .
2012-11-22 13:07:42 +00:00
Richard W.M. Jones
c36abeaf67
Version 1.18.11.
1.18.11
2012-11-22 11:50:40 +00:00
Richard W.M. Jones
79d445df5d
./run: Ensure all paths are built up cumulatively.
...
(cherry picked from commit d0f89fed85 )
2012-11-22 09:58:27 +00:00
Richard W.M. Jones
e731182341
daemon: wipefs: Use --force option if available.
...
See https://bugzilla.redhat.com/show_bug.cgi?id=872831
and https://bugzilla.redhat.com/show_bug.cgi?id=865961
(cherry picked from commit 3454cfb73c )
2012-11-22 09:58:27 +00:00
Richard W.M. Jones
1c4b44bc75
perl: Add test of multiple independent handles.
...
(cherry picked from commit d14557d434 )
2012-11-22 09:58:27 +00:00
Richard W.M. Jones
f3aa9f3868
perl: Clean up and update the tests.
...
(cherry picked from commit 4a2e8e8957 )
2012-11-22 09:58:27 +00:00
Richard W.M. Jones
f5cab066da
perl: Small test of create with flags.
...
(cherry picked from commit 3d0e937b84 )
2012-11-22 09:58:26 +00:00
Richard W.M. Jones
6ea7c08c99
recipes: Add sections about hexdumping, hexediting sectors.
...
(cherry picked from commit 5d9f10c312 )
2012-11-22 09:58:26 +00:00
Richard W.M. Jones
c8b3ea823e
recipes: Add recipe for diffing two guests.
...
(cherry picked from commit fd81d3f9b2 )
2012-11-22 09:58:26 +00:00
Richard W.M. Jones
0fbf12736a
dist: Add miscellaneous files to the tarball.
...
Lots of these had been omitted over time.
(cherry picked from commit e8ad3efbc4 )
2012-11-22 09:58:26 +00:00
Richard W.M. Jones
1608317239
tests/protocol: Add test-qemudir-launchfail.sh to tarball (but don't run it).
...
This file was present in git, but missing from the tarball.
Don't actually run the test: it depends on details of how the
appliance is constructed which would fail for old-style appliances.
(cherry picked from commit 2d89aef897 )
2012-11-22 09:58:26 +00:00
Richard W.M. Jones
a272c2d13d
fish: Add test for remote events.
...
This test was present in git, but not included in the tarball,
nor in the tests that guestfish actually runs.
This fixes commit 17182af3a6 .
Cherry picked from commit 715afda341
and commit 784e53287e .
For the stable-1.18 branch the test has been deliberately disabled.
2012-11-22 09:57:56 +00:00
Richard W.M. Jones
aae5a9b333
tests: More efficient use of strings in the object code.
...
No functional change.
(cherry picked from commit a74f168168 )
2012-11-20 22:03:02 +00:00
Richard W.M. Jones
03584e9a32
tests: Cleanup code that prints each test name.
...
This is just code motion.
(cherry picked from commit 2deb235cf4 )
2012-11-20 22:03:02 +00:00
Richard W.M. Jones
802cb6068b
tests: Change code for printing warnings about untested functions.
...
Just code cleanup, no functional change.
(cherry picked from commit 56c7967cad )
2012-11-20 22:03:02 +00:00
Richard W.M. Jones
e4ddeb4e85
tests: Remove dead code in generated output.
...
(cherry picked from commit 04a8cffee7 )
2012-11-20 22:03:02 +00:00
Richard W.M. Jones
6360e6e253
tests: Format the generated code properly.
...
This is just whitespace changes in the output.
(cherry picked from commit 599a1930b0 )
2012-11-20 22:03:01 +00:00
Richard W.M. Jones
5d799b8e90
lib: Break long line in definition of guestfs_set_error_handler.
...
This is just a whitespace change.
(cherry picked from commit 2013e005bd )
2012-11-20 22:03:01 +00:00
Richard W.M. Jones
a74afff884
examples: Copy-editing instructions printed by the mount-local program.
...
(cherry picked from commit 692701f382 )
2012-11-20 22:03:01 +00:00
Richard W.M. Jones
a7f059cc78
format: Allow virt-format test to be skipped by setting SKIP_TEST_VIRT_FORMAT_SH=1.
...
(cherry picked from commit 101fd44fc5 )
2012-11-20 22:03:01 +00:00
Richard W.M. Jones
7c9ef65062
tests: wipefs: Don't try to wipe mounted filesystem.
...
Previously wipefs (the utility) allowed this, but it's obviously a bad
thing to do and the new wipefs gives an error if you try it:
wipefs: error: /dev/VG/LV: probing initialization failed: Device or resource busy
(cherry picked from commit 6ac943fbef )
2012-11-20 22:03:01 +00:00
Hilko Bengen
d15705358c
message catalogs don't need to be executable
...
(cherry picked from commit 4c285dd8f6 )
2012-11-20 21:37:01 +00:00
Richard W.M. Jones
ff1f16b431
Version 1.18.10.
1.18.10
2012-10-30 18:19:18 +00:00
Richard W.M. Jones
3ede8bed62
build: Source 'localenv' in top-level Makefile.
...
Also document 'local*' files.
(cherry picked from commit de129a1363 )
2012-10-30 17:14:25 +00:00
Richard W.M. Jones
45e922fbc3
tests: Allow more tests to be skipped.
...
Specifically tests which involve btrfs, because btrfs is
currently broken upstream (RHBZ#863978).
(cherry picked from commit f5194e6b0a )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
204d87098a
guestfs-testing: Use L<> around links.
...
(cherry picked from commit dd09744432 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
438206c750
docs: Review and clarify ERROR HANDLING section of guestfs(3).
...
Cherry picked from commit 3c1d85ae95 .
Modified to remove references to libguestfs 1.20.
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
14d39df155
gitignore: Ignore config.cache file.
...
(cherry picked from commit 835ae2c43c )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
1a6c3d665a
daemon: Mark some functions as attribute((noreturn)).
...
(cherry picked from commit 5c8f073786 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
b7d622dbbf
resize: Depend explicitly on Unix module.
...
Commit a0722c7ad8 introduced a
dependency on the Unix module. This was not listed in the list of
'-package's, but as long as you had ocaml-gettext installed it would
still work because that pulled in Unix implicitly.
Thanks Olaf Hering.
(cherry picked from commit a66fd2fac2 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
3e77ee6a96
valgrind: Add suppression for memory leak in libdl:_dl_init function.
...
(cherry picked from commit 2dab72794e )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
2fe8e9d051
configure: Add db5.1_dump, db5.1_load for Debian Wheezy.
...
(cherry picked from commit 67e483689c )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
46ab54b168
ocaml: Get rid of CAMLprim.
...
It's wrong to use it, and in any case it doesn't do anything on Linux.
(cherry picked from commit 3d46f7dc03 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
f90b5bdff7
resize, sparsify: Suppress progress bar when output is not a tty.
...
(cherry picked from commit a0722c7ad8 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
1cce90463e
sparsify: Fix dependencies so they include resize/progress.*
...
This fixes commit 91b2238fc8 .
(cherry picked from commit c9acb029ed )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
41dbcdf94f
valgrind: Fix FUSE memory leak suppression.
...
(cherry picked from commit 626ca8e74f )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
27114fc026
docs: Make 'EVENTS' into its own =head1 section.
...
For some reason it was stuck under "CALLS WITH OPTIONAL ARGUMENTS",
which made no sense.
(cherry picked from commit 085bf7c97a )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
53eb3eb45a
lib: Pointer arg to safe_memdup function should be const.
...
(cherry picked from commit 64e8e0011c )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
2c9c39d6b9
configure: Fix capitalization in configure script.
...
Just make the output of ./configure --help and the <config.h>
file consistent.
(cherry picked from commit bdfe221671 )
2012-10-30 17:14:24 +00:00
Richard W.M. Jones
1ceaf5d62f
configure: Fix C++ compiler test so it doesn't print random junk.
...
(cherry picked from commit 467fb589b9 )
2012-10-30 17:14:23 +00:00
Richard W.M. Jones
54cf2805bd
daemon: Call udev-settle at the start of the daemon.
...
(cherry picked from commit 15b9ed3ed2 )
2012-10-30 17:14:23 +00:00
Richard W.M. Jones
ea09c6e889
fish: progress bar: Send interactive progress bar output to /dev/tty (RHBZ#859875).
...
(cherry picked from commit 911a16a9fa )
2012-10-30 17:14:23 +00:00
Richard W.M. Jones
07b409ff9a
sparsify: Re-use progress bar wrapper code from virt-resize.
...
The code was identical -- just copied with s/resize/sparsify/.
Instead of duplicating identical code, cause the Makefile.am to use
the code from the ../resize/ directory.
Unfortunately because there are two Utils modules (which are
different), this means we had to rename those modules to Resize_utils
and Sparsify_utils respectively. So this is a rather larger change
than intended. However it's just code motion.
(cherry picked from commit 91b2238fc8 )
2012-10-30 17:14:23 +00:00