| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
This was failing on Debian where $(SHELL) is the minimal dash shell.
(cherry picked from commit 6a98ed953b1e3b0d3251385f0ca2dd1dee80b63d)
|
|
|
|
| |
(cherry picked from commit e1c6d1738a2b9123dd08fb4ecff8176daf558f35)
|
|
|
|
|
| |
It's already included, but implicitly.
(cherry picked from commit 5f9c168d9135fa81ee2f3a15461467fe04c26888)
|
|
|
|
|
|
| |
The files could be listed in any order, resulting in the test failing
for no reason. Sort the output of tar.
(cherry picked from commit 995b3fecb9af7a8bd52b238bad2a631a1193c83a)
|
|
|
|
| |
(cherry picked from commit 3cf31c2fe0b356ea5c04117c5235b0a3cfe34971)
|
|
|
|
| |
(cherry picked from commit bad3f4b54a959685f3c0697238fc5753096834fb)
|
| |
|
|
|
|
|
|
|
| |
This is a fix for Perl 5.14.
See previous commit 5c3c7e8825341e18c9449976f8a321a04cc78d79.
(cherry picked from commit c70532ab4b3d977ed7484e473107808b22d90a2a)
|
|
|
|
|
|
|
|
|
|
| |
We weren't acquiring the GC lock around some allocations, resulting in
segfaults when an event callback ran at the same time as a main thread
allocation or garbage collection.
In particular this fixes a noticable crash in guestfs-browser.
(Cherry picked from commit 2b8b3f9794ceb43eabd3083e225c669896d8b186).
|
|
|
|
|
|
| |
The documentation for the --csv option disappeared between 1.6 and 1.8
when we rewrote virt-df in C. Re-add it from 1.6 sources.
(cherry picked from commit 01f6bce19dbfaf42fa4908683f3cc8785585d023)
|
|
|
|
| |
(cherry picked from commit 15289d4b726d7c38702794df23c61ae40879a46c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A change to ExtUtils::CBuilder in Perl 5.14 causes CCFLAGS to
completely replace, rather than appending, the C flags.
The unfortunate consequence of this is that vital flags such as
-D_FILE_OFFSET_BITS=64 are missing. For 32 bit code, this means you
get binary-incompatible code that completely fails to load.
For further analysis see:
http://www.nntp.perl.org/group/perl.perl5.porters/2011/04/msg171535.html
This commit changes CCFLAGS so that it appends to the existing
$Config{ccflags} instead of replacing it. On earlier versions of Perl
this means we get two copies of the flags, which is unfortunate but
should be safe.
(cherry picked from commit 8386a57458aceb768f0e59aa090a15a544f7466e)
|
|
|
|
| |
(cherry picked from commit 71eb0bf45649eefa1f0cd4b1372cfc2653c8e7a5)
|
|
|
|
| |
(cherry picked from commit 610642491a4846f45c7b233060ffde46f6ca09f0)
|
|
|
|
|
|
|
|
| |
A typical use for this is for packagers who want to increase
the default timeout:
make quickcheck QUICKCHECK_TEST_TOOL_ARGS="-t 300"
(cherry picked from commit 806b6e01506dea4eae68ac3e468d9398d63cafcb)
|
|
|
|
|
|
|
| |
On recent Debian, /etc/blkid.tab is now a symlink to /dev/.blkid.tab.
Rather than chasing the cache file around (it may move to /run in future)
use the -c /dev/null option to stop blkid from reading the cache.
(cherry picked from commit 1d0f398d8e3c74ce6a70cbbb8d9b8ae07c6d7ef6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the blkid command returns 2, that means the value was not found.
Note that this changes the output of the vfs-type API when the
filesystem has no type (eg when it is empty). Previously this would
return an error. Now it returns empty string "".
We did not document this either way. Making it return empty string is
consistent with vfs-label and vfs-uuid.
This change broke list-filesystems, since that code was assuming that
vfs-type could only return a filesystem type or an error.
(cherry picked from commit 168fd4ad5d1e5da93e11388095d41aaa8f804ceb)
|
|
|
|
| |
(cherry picked from commit 8b2e60ce4b46e86da093ee64d4e0b0ae3c998d55)
|
|
|
|
| |
(cherry picked from commit 70daccfe4e9939078436c2830928d8e53432dd84)
|
|
|
|
|
|
|
|
| |
It appears qemu-kvm does *not* require -machine accel=tcg option.
That problem disappeared after upgrading seabios(!) However leave the
test for qemu -help option, since that's useful to determine if qemu
is completely broken or not.
(cherry picked from commit 5dec7842655dd872bb0fd9fe07f6a9eab6b13bfd)
|
|
|
|
|
|
| |
Now qemu 0.15 won't even start up unless the -machine accel=... option
is specified. Essentially this is a regression in qemu.
(cherry picked from commit d82438431c1551610eb7d9945fa76d6387534582)
|
|
|
|
| |
(cherry picked from commit a548c9668315844763456c15e89e35e9702b851a)
|
|
|
|
|
|
| |
Decide early (before launch) if this is going to be an interactive
session, and set the is_interactive flag.
(cherry picked from commit e187aa8431ccf0436d9aee03ee1e80b79f148217)
|
|
|
|
| |
(cherry picked from commit 4b53a3737b76cad7aca407a0d9e37fed1d42ef69)
|
|
|
|
|
| |
Allow other types of filesystems to be created.
(cherry picked from commit c6340f45007b0ab7e1c5391cf78afc10a816553f)
|
| |
|
|
|
|
| |
(cherry picked from commit aa8a9ebf29b7fdc97467e911560a1a7a774e9e1f)
|
|
|
|
| |
(cherry picked from commit 511c82df46f5c6f4a7f984fdb81d4691038ed6da)
|
|
|
|
| |
(cherry picked from commit 2ba2ddf2113db7bb2afe3f739dc3cbaa5416a4ba)
|
|
|
|
|
|
|
| |
If the action doesn't take optional arguments, nevertheless force the
optargs_bitmask field in the header to be passed as 0, and give an
error if not.
(cherry picked from commit 0344248af55802bbbd816b349ec1ba9305996f6e)
|
|
|
|
|
|
|
| |
For optional arguments, you can now specify empty string to mean no
argument, except for String optional arguments where you must use
"NOARG" (empty string meaning a supplied empty string argument).
(cherry picked from commit f7a11c60437afa700775eaa86a9be1a543427959)
|
|
|
|
|
|
| |
Not that I'm paranoid about qemu breaking snapshots of anything like
that ...
(cherry picked from commit f3ada2c7653866f2529c9f18aaa99f76cd984844)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous guestfs___download_to_tmp function did not handle
multiboot correctly. In particular it used the same cache name
for downloaded files from different roots, which could have caused
things like applications in each root to be confused.
This changes the function so that the cache filename is prefixed
with the root / fs number, eg. $tmpdir/0-Name instead of $tmpdir/Name.
This change also requires the function to return the new name, so
all places in the code which called this function had to be
updated.
This updates and fixes commit 3c1f762abed92f7a358f3bc93e3396d0606b18ad.
(Cherry picked and backported from
commit 5f26270c343bf543a7bf20cf3e6f182f6282f8ea)
|
|
|
|
|
|
|
|
|
|
|
| |
No current function returns RBufferOut and has optional args. Such
functions would be generated incorrectly.
RBufferOut implies a silent "size_t *size_r" argument is added after
the regular arguments and before the optional arguments. Various
changes to the code generator need to be made to take this into
account.
(cherry picked from commit adb5db58d850ce6d15380177a63c68276f863c98)
|
|
|
|
|
|
| |
The comment referred to the command line syntax of the old
virt-inspector.
(cherry picked from commit ea96c7acf7a332c08c2214796add647224a2ede0)
|
|
|
|
|
| |
This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656.
(cherry picked from commit 123610f1b5133a9e541a245467f60d065ea96575)
|
|
|
|
|
|
|
|
| |
Empty lists returned by RStringList and RHashtable functions
were incorrectly printed as [""].
Fix this so they are printed as [] instead.
(cherry picked from commit 56b94f5f6aa7981533ad867cc908c6e9cca2ba42)
|
|
|
|
|
| |
This file is created by one of the build tools used by Perl 5.14.
(cherry picked from commit cabfaa857fbd325bd0303fa56b28df8ce52aab33)
|
|
|
|
|
|
|
| |
In Perl 5.14:
Use of qw(...) as parentheses is deprecated at perl/blib/lib/Sys/Guestfs/Lib.pm line 1111.
(cherry picked from commit 5c3c7e8825341e18c9449976f8a321a04cc78d79)
|
| |
|
|
|
|
|
|
|
|
| |
In util-linux <= 2.19, mkswap -U cannot handle the first byte of the
UUID being zero, so we artificially rewrite such UUIDs.
See: http://article.gmane.org/gmane.linux.utilities.util-linux-ng/4273
(cherry picked from commit 4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8)
|
|
|
|
| |
(cherry picked from commit daf55c07978cd29fe6675911bf76da0b056fdae1)
|
|
|
|
| |
(cherry picked from commit f5096dd546ac43c7288b3ab7aec1562f070f78f6)
|
|
|
|
|
|
|
|
|
|
|
| |
If the external command failed to run, we could free up the allocated
*stdoutput and *stderror pointers, but then return those freed
pointers to the caller. The caller usually tries to print and free
*stderror, so this is a serious error.
Instead, return *stdoutput as NULL, and *stderror pointing to a
generic error message.
(cherry picked from commit 29453a58d818df24c238d0a08a68886ebe4029dd)
|
|
|
|
| |
(cherry picked from commit 7a091a11d7aeddc170e4d1b833fd9d7d18c00841)
|
|
|
|
| |
(cherry picked from commit 346c5b0ebf58c81f657540eeb72abaa41bfc4e3f)
|
|
|
|
| |
(cherry picked from commit 7c020a14802255c966b2b402b983551b86a08bba)
|
|
|
|
| |
(cherry picked from commit 869c11b30c72c57e48dd63c4641087a06abe80d5)
|
|
|
|
| |
(cherry picked from commit 3135b8c378f9f98ae66e37fd79d305764334980d)
|
|
|
|
|
| |
For some reason we were checking the parameter!
(cherry picked from commit 7fae594df719d1d81a043c4d0280b359f750facb)
|