summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New API: inspect-get-icon returns the guest icon.Richard W.M. Jones2011-06-288-15/+569
| | | | | | | | | | This API returns the guest's favicon if found, else an icon representing the guest operating system. Currently supported by this patch: Fedora, RHEL and derivatives, Debian (but not Ubuntu), Windows XP, Windows 7. This also updates virt-inspector to include an <icon> element containing the icon in base64 encoding.
* Change download_to_tmp so it can work with multi-root operating systems.Richard W.M. Jones2011-06-284-104/+98
| | | | | | | | | | | | | | | | 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.
* generator: Fix functions with both RBufferOut and optional args.Richard W.M. Jones2011-06-282-10/+14
| | | | | | | | | | 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.
* inspector: Fix comment in virt-inspector.rng.Richard W.M. Jones2011-06-281-2/+2
| | | | | The comment referred to the command line syntax of the old virt-inspector.
* inspection: Remove note about root device string.Richard W.M. Jones2011-06-281-60/+0
| | | | | | | This is a fairly pointless note/warning since (a) you can't use the API if you don't pass a root device string and (b) the code gives you a good error message if you pass something that is not a root device string.
* guestfs.h: Tidy up *_argv structs and other #defines.Richard W.M. Jones2011-06-281-6/+18
|
* Revert "Lib.pm: unknown filesystem label SWAP-sda2 (RHBZ#666578)"Richard W.M. Jones2011-06-281-1/+1
| | | | This reverts commit 5cab0d6c807d8a3bf9690375c663d11a10e21656.
* New API: mount-9p lets you mount 9p filesystems (RHBZ#714981).Richard W.M. Jones2011-06-223-1/+69
| | | | The updated patch makes 'options' into an optional parameter.
* New API: list-9p lists 9p filesystem mount tags (RHBZ#714981).Richard W.M. Jones2011-06-225-1/+180
|
* trace: Print empty list correctly.Richard W.M. Jones2011-06-221-3/+5
| | | | | | | Empty lists returned by RStringList and RHashtable functions were incorrectly printed as [""]. Fix this so they are printed as [] instead.
* Version 1.11.11.1.11.11Richard W.M. Jones2011-06-2117-31/+28
|
* Enable deprecated option only with gcc >= 4.5.Richard W.M. Jones2011-06-201-1/+1
| | | | | | | Before gcc 4.5, the deprecated option did not take the optional string argument (see [1]). This caused compilation to fail with gcc < 4.5. [1] http://gcc.gnu.org/gcc-4.5/changes.html
* perl: Ignore MYMETA.yml.Richard W.M. Jones2011-06-181-0/+1
| | | | This file is created by one of the build tools used by Perl 5.14.
* todo: Idea for interactive disk creator program.Richard W.M. Jones2011-06-181-1/+6
|
* perl: Don't use qw() as parentheses.Richard W.M. Jones2011-06-181-1/+1
| | | | | | In Perl 5.14: Use of qw(...) as parentheses is deprecated at perl/blib/lib/Sys/Guestfs/Lib.pm line 1111.
* generator: Rewrite UUIDs that begin with zero byte.Richard W.M. Jones2011-06-131-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
* Version 1.11.10.1.11.10Richard W.M. Jones2011-06-1017-243/+395
|
* build: include <string.h> for src/match.c's use of strlenJim Meyering2011-06-101-0/+1
|
* bootstrap: use --libtoolJim Meyering2011-06-101-0/+1
|
* build: update to latest gnulibJim Meyering2011-06-104-11/+67
| | | | | * .gnulib: Update submodule to latest. * daemon/m4/gnulib-cache.m4: Regenerate.
* daemon: Keep Coverity happy by ignoring some return values.Richard W.M. Jones2011-06-093-7/+17
|
* Coverity: Don't return freed pointers from command* along error path.Richard W.M. Jones2011-06-091-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.
* Coverity: Missing return on error path.Richard W.M. Jones2011-06-091-0/+1
|
* Coverity: Ensure fp is closed along all error paths.Richard W.M. Jones2011-06-091-4/+6
|
* Coverity: Close directory handle along error paths.Richard W.M. Jones2011-06-091-0/+2
|
* Coverity: Don't leak argv arrays.Richard W.M. Jones2011-06-091-0/+4
|
* Coverity: Don't leak error strings.Richard W.M. Jones2011-06-095-3/+14
|
* Coverity: Check return value of sysroot_path.Richard W.M. Jones2011-06-091-1/+1
| | | | For some reason we were checking the parameter!
* Coverity: Check return value of malloc.Richard W.M. Jones2011-06-091-0/+4
|
* Coverity: Don't close fd_cwd if fd_cwd == -1.Richard W.M. Jones2011-06-091-2/+5
|
* Coverity: Avoid calling sort_strings (NULL, 0) on empty list.Richard W.M. Jones2011-06-091-2/+3
|
* Coverity: Don't call free_strings (NULL).Richard W.M. Jones2011-06-091-1/+0
|
* Coverity: Remove unreachable code.Richard W.M. Jones2011-06-094-12/+0
|
* init: Remove timeout in udevadm settle command.Richard W.M. Jones2011-06-081-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.
* protocol: Enhance "unexpected end of file when reading from daemon" error.Richard W.M. Jones2011-06-071-2/+21
| | | | | Make this error more informative, since it is a common error when the appliance fails to start up.
* Version 1.11.9.1.11.9Richard W.M. Jones2011-06-0417-204/+495
|
* Only include date, not time, in BUGS file.Richard W.M. Jones2011-06-041-1/+1
| | | | This is so the file does not change so often when using 'make dist'.
* Remove dependency diagram, since it is very out of date.Richard W.M. Jones2011-06-044-128/+0
|
* virt-ls: Add virt-ls -lR option for complex file iteration.Richard W.M. Jones2011-06-044-36/+1136
|
* virt-ls: Refactor mode selection code.Richard W.M. Jones2011-06-041-77/+123
| | | | This is just code motion.
* virt-ls: Small fix for output of --help option.Richard W.M. Jones2011-06-041-1/+1
|
* Ubuntu: Fix compilation of virt-resize if old libguestfs already installed.Richard W.M. Jones2011-06-041-1/+5
|
* recipes: in tr command \000 should be \0Richard W.M. Jones2011-06-031-1/+1
|
* daemon: Fix error message.Nikita A Menkovich2011-05-201-1/+1
|
* todo: Document thoughts on visiting files.Richard W.M. Jones2011-05-201-0/+40
|
* debian: Add build dependencies: dpkg-dev, devscripts, gperf.Nikita A Menkovich2011-05-201-1/+2
|
* daemon: Make sysroot_len be size_t instead of int.Richard W.M. Jones2011-05-192-2/+2
|
* todo: Remove event log parsing - done.Richard W.M. Jones2011-05-181-10/+0
|
* build: Install guestfs-recipes.1.html on website.Richard W.M. Jones2011-05-181-0/+1
| | | | This updates commit f2c7df589c7e161f33b46d05a943b5489dc2cffe.
* Add new guestfs-rescue(1) man page with recipes.Richard W.M. Jones2011-05-188-4/+447
|