summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* inspector: Fix comment in virt-inspector.rng.Richard W.M. Jones2011-07-161-2/+2
| | | | | | The comment referred to the command line syntax of the old virt-inspector. (cherry picked from commit ea96c7acf7a332c08c2214796add647224a2ede0)
* Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"Richard W.M. Jones2011-07-161-1/+1
| | | | | This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656. (cherry picked from commit 123610f1b5133a9e541a245467f60d065ea96575)
* trace: Print empty list correctly.Richard W.M. Jones2011-07-161-3/+5
| | | | | | | | | 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.
* perl: Ignore MYMETA.yml.Richard W.M. Jones2011-07-161-0/+1
| | | | | This file is created by one of the build tools used by Perl 5.14. (cherry picked from commit cabfaa857fbd325bd0303fa56b28df8ce52aab33)
* perl: Don't use qw() as parentheses.Richard W.M. Jones2011-07-161-1/+1
| | | | | | | 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)
* generator: Rewrite UUIDs that begin with zero byte.Richard W.M. Jones2011-07-161-0/+8
| | | | | | | | 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)
* Version 1.8.8.1.8.8Richard W.M. Jones2011-06-1317-4800/+4864
|
* daemon: Keep Coverity happy by ignoring some return values.Richard W.M. Jones2011-06-133-7/+17
| | | | (cherry picked from commit f5096dd546ac43c7288b3ab7aec1562f070f78f6)
* Coverity: Don't return freed pointers from command* along error path.Richard W.M. Jones2011-06-131-2/+14
| | | | | | | | | | | 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)
* Coverity: Missing return on error path.Richard W.M. Jones2011-06-131-0/+1
| | | | (cherry picked from commit 7a091a11d7aeddc170e4d1b833fd9d7d18c00841)
* Coverity: Ensure fp is closed along all error paths.Richard W.M. Jones2011-06-131-4/+6
| | | | (cherry picked from commit 346c5b0ebf58c81f657540eeb72abaa41bfc4e3f)
* Coverity: Close directory handle along error paths.Richard W.M. Jones2011-06-131-0/+2
| | | | (cherry picked from commit 7c020a14802255c966b2b402b983551b86a08bba)
* Coverity: Don't leak argv arrays.Richard W.M. Jones2011-06-131-0/+4
| | | | (cherry picked from commit 869c11b30c72c57e48dd63c4641087a06abe80d5)
* Coverity: Don't leak error strings.Richard W.M. Jones2011-06-135-3/+14
| | | | (Cherry picked from commit 3135b8c378f9f98ae66e37fd79d305764334980d).
* Coverity: Check return value of sysroot_path.Richard W.M. Jones2011-06-131-1/+1
| | | | | For some reason we were checking the parameter! (cherry picked from commit 7fae594df719d1d81a043c4d0280b359f750facb)
* Coverity: Check return value of malloc.Richard W.M. Jones2011-06-131-0/+4
| | | | (cherry picked from commit 3a5bd5aba23583e64bfaabc906ca95b0f9d37578)
* Coverity: Don't close fd_cwd if fd_cwd == -1.Richard W.M. Jones2011-06-131-2/+5
| | | | (cherry picked from commit 76dfb74324fa0daa343d7edf89bd05e1fe7b4db0)
* Coverity: Avoid calling sort_strings (NULL, 0) on empty list.Richard W.M. Jones2011-06-131-2/+3
| | | | (cherry picked from commit 3ed8d5122026f37dd96cc7e8503c4f3ecf0afbb7)
* Coverity: Don't call free_strings (NULL).Richard W.M. Jones2011-06-131-1/+0
| | | | (cherry picked from commit 48ebf50f3136ac27f4252662e351230ffa2b15e5)
* Coverity: Remove unreachable code.Richard W.M. Jones2011-06-134-12/+0
| | | | (cherry picked from commit 9160eec4fbf12643d8d5fa13465066822b2fed92)
* init: Remove timeout in udevadm settle command.Richard W.M. Jones2011-06-131-1/+1
| | | | | | | | | | | 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)
* protocol: Enhance "unexpected end of file when reading from daemon" error.Richard W.M. Jones2011-06-131-2/+21
| | | | | | Make this error more informative, since it is a common error when the appliance fails to start up. (cherry picked from commit 2f73ea343cc4a3433f20e99a7835152767a70f80)
* Only include date, not time, in BUGS file.Richard W.M. Jones2011-06-131-1/+1
| | | | | This is so the file does not change so often when using 'make dist'. (cherry picked from commit cdd11b758f2601f7eeda4fca684638b0335d531a)
* virt-ls: Small fix for output of --help option.Richard W.M. Jones2011-06-131-1/+1
| | | | (cherry picked from commit 7177340a6f0e3ac1f238c69b0ad5267e18252fe2)
* daemon: Fix error message.Nikita A Menkovich2011-06-131-1/+1
| | | | (cherry picked from commit 08bc8e40cea750bd35493ecab514e8e37c883a0a)
* guestfs-examples(3): Remove link to OCaml homepage.Richard W.M. Jones2011-06-131-2/+1
| | | | (cherry picked from commit 95368927219f2888aeb1232c7ec950dde538bc39)
* Document that guestfs_file output depends on file(1) command.Richard W.M. Jones2011-06-131-9/+6
| | | | | | 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)
* Version 1.8.7.1.8.7Richard W.M. Jones2011-05-1816-18/+24
|
* inspect: Look for %systemroot%/system32 for Windows heuristic.Richard W.M. Jones2011-05-181-3/+3
| | | | | | | | The virt-v2v transfer ISO had a /windows directory. The core inspection code thought this was a Windows root filesystem. Cherry picked and backported from commit 0da6f55a6745686ca056c6bc8ebf647f111cb8e8.
* list-applications: If software hive is missing, this is an error.Richard W.M. Jones2011-05-181-5/+5
| | | | | | | | virt-inspector would exit silently if list-applications failed along this error path. Cherry picked and backported from commit 782f3a36469ca396dbf998ea82af2699153be3ed.
* zero: Disable file test because of bug in file command.Richard W.M. Jones2011-05-181-3/+2
| | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=705499 (cherry picked from commit f55b32b2db83495fc0987f0fe0e979818704dff1)
* Version 1.8.6.1.8.6Richard W.M. Jones2011-04-1817-52/+36
|
* python: Release Python GIL while running libguestfs calls.Richard W.M. Jones2011-04-181-0/+19
| | | | | | | | | | | | | | | | | | | Release the Python global interpreter lock while running libguestfs calls. We don't release it around guestfs_create() because that is a short call that just allocates memory. We do release it around guestfs_close() since that is a potentially long-running (it can call wait(2) amongst other things). We also release it around all the other generated Python calls. We don't yet support callbacks into Python code (ie. the new event API). But when we do in future, we will need to also handle the GIL around those callbacks. This code is adapted from libvirt's python/typewrappers.h. Thanks to Dan Berrange for showing us how to do this properly. (cherry picked from commit 08dc4a87b92435678780e9c49fe3bc1e7465d99f)
* fish: Fix typo in guestfish man page (--format option).Richard W.M. Jones2011-04-181-1/+1
| | | | (cherry picked from commit 4c2bb8b301970e8853a8feaa95e3698224640fba)
* inspector: Handle write failures when creating example-*.xml.Richard W.M. Jones2011-04-181-4/+12
| | | | (cherry picked from commit 0108d7861d4cc9a1f0d87d89080d1be7750e54b5)
* inspector: Include <hostname> in output.Richard W.M. Jones2011-04-186-0/+13
| | | | | Cherry picked from commit 36d3a4ce53317b104d48b60c9fe1ed679065d1d4 and rebased for stable-1.8 branch.
* Version 1.8.5.1.8.5Richard W.M. Jones2011-04-1117-949/+1226
|
* Compile rpcgen-generated files with -fno-strict-aliasingMatthew Booth2011-04-113-17/+13
| | | | | | rpcgen generates source which can't be safely compiled with strict-aliasing enabled. (cherry picked from commit 3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1)
* Rename resolve_windows_path_silently to case_sensitive_path_silently.Richard W.M. Jones2011-04-111-9/+9
| | | | | | | A more accurate description of what this function does. This is just code motion. (cherry picked from commit f3eea44f97340f747e46b0df6931a04b53abaf01)
* edit: Move 'exit 0' to end of file.Richard W.M. Jones2011-04-111-2/+4
| | | | | This is just code motion. (cherry picked from commit 60cdf446063a0ae61c52140355677d7da2327fa2)
* edit: Let $root == $roots[0].Richard W.M. Jones2011-04-111-1/+2
| | | | | This is just code motion. (cherry picked from commit aed8f220d279e910e0f398fea6fa674cc6a63783)
* cat, edit: Reference guestfish equivalent commands in the manual pages.Richard W.M. Jones2011-04-112-6/+72
| | | | (cherry picked from commit 4de124debf181ff6af38617b80c2355627e38d35)
* python: Convert any iterable argument to a list (RHBZ#693324).Richard W.M. Jones2011-04-111-1/+13
| | | | | Thanks to Erez Shinan. (cherry picked from commit afa17809599f3ebc82c3feef025ca812fb26c9fe)
* daemon: When running commands, restart select if we receive a signal.Richard W.M. Jones2011-04-111-0/+4
| | | | (cherry picked from commit 6e5f64089631622167e60df25ee009ef83df5170)
* daemon: Reset SIGPIPE to default before running subprocesses.Richard W.M. Jones2011-04-111-0/+1
| | | | (cherry picked from commit 42938f6faf9e724130be28f8e67d3c291bb81cba)
* Add prototype for timeval_diff.Richard W.M. Jones2011-04-111-1/+2
| | | | | | This is just code motion. Cherry picked from commit 1e6be6afe58de5bfb1ac056b80d3210888edfead.
* docs: Progress messages don't necessarily reach 100% in the error case.Richard W.M. Jones2011-04-111-1/+2
| | | | | | This should be obvious, and now it is documented to avoid any confusion. (cherry picked from commit 05dbe09a5c5be3d5f68dc6eb033c4f642fbac8bf)
* examples: Use WARN_CFLAGS, WERROR_CFLAGS macros instead of -WallRichard W.M. Jones2011-04-111-5/+11
| | | | (cherry picked from commit b41e73008a939ef493d2bfb82c9bd07b0f74736a)
* examples: size_t-correctness change in inspect_vm.cRichard W.M. Jones2011-04-111-2/+2
| | | | (cherry picked from commit d5eb5216aae0cb83fae686f490d1c3c37c2c074e)
* contrib: Fix URLs in README file.Richard W.M. Jones2011-04-111-3/+5
| | | | (cherry picked from commit 1612201a83e732eec7d98d1679dd9dd426bcd10d)