| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(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)
|
|
|
|
| |
(cherry picked from commit 3a5bd5aba23583e64bfaabc906ca95b0f9d37578)
|
|
|
|
| |
(cherry picked from commit 76dfb74324fa0daa343d7edf89bd05e1fe7b4db0)
|
|
|
|
| |
(cherry picked from commit 3ed8d5122026f37dd96cc7e8503c4f3ecf0afbb7)
|
|
|
|
| |
(cherry picked from commit 48ebf50f3136ac27f4252662e351230ffa2b15e5)
|
|
|
|
| |
(cherry picked from commit 9160eec4fbf12643d8d5fa13465066822b2fed92)
|
|
|
|
|
|
|
|
|
|
|
| |
The given timeout (10s) was too low if the appliance was
running slowly, which caused a cascade of other failures
during tests.
Note that in udev-171 and above on Fedora, /sbin/start_udev
no longer exists, so now we are using this manual method to
start udevd.
(cherry picked from commit bfc02f78f36d88543f8435e450e28c986b667a94)
|
|
|
|
|
|
| |
Make this error more informative, since it is a common error when the
appliance fails to start up.
(cherry picked from commit 2f73ea343cc4a3433f20e99a7835152767a70f80)
|
|
|
|
|
| |
This is so the file does not change so often when using 'make dist'.
(cherry picked from commit cdd11b758f2601f7eeda4fca684638b0335d531a)
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit bb965ded274f911fb5d7889f88db9adaad1d2a52)
|
|
|
|
| |
(cherry picked from commit 7177340a6f0e3ac1f238c69b0ad5267e18252fe2)
|
|
|
|
| |
(cherry picked from commit 418842518bf856144e2ab33abb6de417d1b60753)
|
|
|
|
| |
(cherry picked from commit 08bc8e40cea750bd35493ecab514e8e37c883a0a)
|
|
|
|
| |
(cherry picked from commit b85b4fafe1e23dc99d10647f6d35cd37b0a3f02a)
|
|
|
|
| |
(cherry picked from commit 4b91462bad010a0b214e808f94a916002be65b91)
|
|
|
|
| |
(cherry picked from commit 95368927219f2888aeb1232c7ec950dde538bc39)
|
|
|
|
|
|
| |
And therefore practically it cannot be part of the ABI since
the output of file(1) itself changes from time to time.
(cherry picked from commit ef6f877b9df261fad1fbf361b8ce7af1055dfbb7)
|
|
|
|
| |
(cherry picked from commit b777a5a64926e9bf9b7109a0e4fb1332b20fa37f)
|
|
|
|
|
| |
Point to the part-* API calls as replacements.
(cherry picked from commit 12414ddc020f94e75a791815d2c1ac2b0d76eaf1)
|
|
|
|
|
|
|
|
| |
Callers should use 'mount_options' or 'mount_vfs' instead.
See also:
http://libguestfs.org/guestfs.3.html#libguestfs_gotchas
(cherry picked from commit 4ec8fd189dc8404e713c00bcfc36de358f5cdca3)
|
|
|
|
|
|
|
| |
The function has been a no op for a very long time. By marking
it as deprecated we make it clear that you shouldn't call it
in new code.
(cherry picked from commit 31de91f6d2605899b3a797b73b358eec9c0b1196)
|
|
|
|
| |
(cherry picked from commit b43482964a8c7e19f47943506872cd58601c28e9)
|
|
|
|
|
|
| |
This was left over from earlier code. It is used in the base library,
but not in guestfish or guestmount.
(cherry picked from commit 8c0aca8d9280fb87027826fe89d70cc2701e7f8b)
|
|
|
|
|
| |
This will be used to internally enable various GCC enhancements.
(cherry picked from commit 33adb59b60b1358656439a757f319ba8ce81e26c)
|
|
|
|
| |
(cherry picked from commit 36b236fc97880c04e2ceeac502ff07a5e9993e28)
|
|
|
|
| |
(Cherry picked from commit 64841fe8957f798df12a38bd81843c7011f2c278)
|