| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new API splits orderly close into a two-step process:
if (guestfs_shutdown (g) == -1) {
/* handle the error, eg. qemu error */
}
guestfs_close (g);
Note that the explicit shutdown step is only necessary in the case
where you have made changes to the disk image and want to handle write
errors. Read the documentation for further information.
This change also:
- deprecates guestfs_kill_subprocess
- turns guestfs_kill_subprocess into the same as guestfs_shutdown
- changes guestfish and other tools to call shutdown + close
where necessary (not for read-only tools)
- updates documentation
- updates examples
(cherry picked from commit ffbf1475f7ae7c462db289ad4834391469e72edd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RHEL 5-era autoconf did not define these, so define them manually
when they are missing.
Define builddir as '.' The scripts require this. It won't work
in the srcdir != builddir case, but we don't care about that for
RHEL 5.
This commit also moves the builddir / abs_srcdir variable setting
above the include of subdir-rules.mk, in case that include uses
these variables.
Useful script:
for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do
if ! grep -q '^abs_srcdir' $f; then
echo missing in $f
fi
done
(cherry picked from commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6)
|
|
|
|
| |
(cherry picked from commit dd216fedbdacfd641c2da4073ae26d3ccb6098a6)
|
|
|
|
| |
(cherry picked from commit b0b5fdc69f6ee831f325760f95a164627b499f77)
|
|
|
|
| |
(cherry picked from commit 84d450210b3ea01de3fe26b2cf1db2b492d77aec)
|
|
|
|
|
|
|
|
|
|
|
| |
Colon characters are not allowed in qemu/qemu-img filenames. There's
no way to quote them.
Comma characters CAN be used. However they must be quoted (by
doubling) when used in the '-o' option.
Fix general quoting problems in the external command.
(cherry picked from commit 8d3d5a52d2746af91f770608cce5f47462f33aba)
|
|
|
|
| |
(cherry picked from commit 6e3de762782b050fe7ad675297089a42026f05c4)
|
|
|
|
| |
(cherry picked from commit 1c1ecb2c419382f1677501b22cb98a06c7abe9a9)
|
|
|
|
|
|
| |
Add a signal handler so this potentially large temporary file
is removed when the user hits ^C.
(cherry picked from commit 7283a5a2765c0670e9dceec70e626a49a30d269c)
|
|
|
|
|
|
| |
zero-device is more efficient in general, and avoids writing to blocks
which are already zero.
(cherry picked from commit 8c9f6a64be9840a955e481e932f13d005c0de0de)
|
|
|
|
| |
(cherry picked from commit 7934ea2395d2a417fbc20efc22573113f7ae9d7a)
|
|
|
|
| |
(cherry picked from commit b7122eaa58ccd153a8c39bc3b6f890755c5df089)
|
| |
|
|
|
|
| |
(Includes fix by RWMJ)
|
| |
|
| |
|
|
|
|
| |
Update all copyright dates to 2012.
|
|
|
|
|
| |
Remove generated .depend files from source control, and don't barf when they
don't exist while bootstrapping.
|
| |
|
|
|
|
|
|
|
|
| |
This adds the virt-sparsify --debug-gc option which causes
virt-sparsify to call Gc.compact before exiting, allowing
GC and memory problems to be tested.
Add an extratest which runs virt-sparsify under valgrind.
|
| |
|
|
|
|
| |
This adds the -c option to the final qemu-img command.
|
|
|
|
|
|
| |
Note that for this to work properly, it requires a patch to
the 'file' command. See:
https://www.redhat.com/archives/libguestfs/2011-November/msg00120.html
|
| |
|
|
|
|
|
|
|
| |
size_after on Debian was 10136K. The host filesystem was ext3 (vs
ext4 for Fedora where we did the original testing). Probably indirect
blocks (vs more efficient extents on ext4) causes the difference,
although I did not look at it in detail.
|
|
|
|
|
|
|
|
| |
Add a dependency so these tools are rebuilt from scratch if the
Guestfs API changes. This prevents the error:
"[...] make inconsistent assumptions over interface Guestfs".
This commit includes the generated changes to .depend files.
|
| |
|
| |
|
|
|