summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* generator: Implement BufferIn parameter type (RHBZ#501889).Richard Jones2010-05-203-47/+178
| | | | | | | | | | | | The BufferIn argument turns into various things: in C const char *, size_t parameter pair in XDR an opaque<> type (instead of string) which allows \0 chars in other bindings mostly just a string, since most languages except for C permit strings to contain any 8 bit data
* fish: Fix build error if built without readline.Richard Jones2010-05-201-2/+4
| | | | | | fish.c:1447: error: 'add_history_line' defined but not used [-Wunused-function] (Reported by Matt Booth)
* appliance: Fix /etc/resolv.confRichard Jones2010-05-201-1/+1
| | | | | | | | Since changing to use link local address (commit fbf29976b33a69c64dc7847c54454bf2cfa5fde6) we have included an incorrect resolv.conf file in the appliance which points to the old (qemu) DNS server. This commit changes to use the new DNS server.
* Update BUGS.Richard Jones2010-05-191-9/+15
|
* Update Spanish translations (RHBZ#593292).Daniel Cabrera2010-05-181-694/+1398
|
* appliance: Ignore utempter unreadable binaries (for RHEL 6).Richard Jones2010-05-181-0/+1
|
* appliance: Change comment about unreadable binaries.Richard Jones2010-05-181-3/+4
|
* Version 1.3.13.1.3.13Richard Jones2010-05-1514-15/+15
|
* Update BUGSRichard Jones2010-05-151-4/+1
|
* Update PO files.Richard Jones2010-05-151-1513/+873
|
* Generate BUGS file from Red Hat Bugzilla database.Richard Jones2010-05-153-11/+233
| | | | | Add a script which generates the 'BUGS' file from Red Hat Bugzilla. This is run whenever we do 'make dist' and deliberately stored in git.
* virt-df: Display domains in sorted order.Richard Jones2010-05-141-1/+1
|
* Updated Spanish translations (RHBZ#592360).Richard Jones2010-05-141-897/+1610
|
* Ensure ordinary appliance is updated before trying to build supermin appliance.Richard Jones2010-05-141-2/+2
|
* Version 1.3.12, update PO files.1.3.12Richard Jones2010-05-1413-6917/+7512
|
* Unify supermin appliance building using febootstrap 2.7Richard Jones2010-05-1310-1178/+41
|
* Improve errors from tar-in/tgz-in commands (RHBZ#591155 RHBZ#591250).Richard Jones2010-05-133-7/+46
| | | | | | | | | | | | | | | | | | | | This commit improves the error messages from the tar-in, tgz-in (etc) commands by capturing the stderr from the tar command in a file and sending that back in the error message. The method used for the error file is primitive, and there is a case for a more generic error file mechanism, but this will do for now. Sample error messages after this change: $ virt-tar -u /tmp/test1.img /tmp/not.tar / tar_in: tar subcommand failed on directory: /: tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors at /home/rjones/d/libguestfs/tools/virt-tar line 247. $ virt-tar -u /tmp/test1.img /tmp/test.tar / tar_in: tar subcommand failed on directory: /: tar: access.log: Cannot open: Read-only file system tar: Exiting with failure status due to previous errors at /home/rjones/d/libguestfs/tools/virt-tar line 247.
* Combine common code in daemon/tar.c.Richard Jones2010-05-131-120/+20
| | | | | This commit shouldn't result in any change in the semantics of the code.
* Fix FileIn cmds losing synch if both ends send cancel messages (RHBZ#576879).Richard Jones2010-05-1310-54/+71
| | | | | | | | | | | | | | | | | | | | | | | During a FileIn command (eg. upload, tar-in) if both sides experience errors, then both sides could send cancel messages, the result being lost synchronization. The reason for the lost synch was because the daemon was ignoring this case and sending an error message back which the library side (which had cancelled) was not expecting. Fix this by checking in the daemon for the case where the library also cancels during daemon cancellation, and not sending an error messages. This also includes an enhanced regression test which checks for this case. This extends the original fix in commit 5922d7084d6b43f0a1a15b664c7082dfeaf584d0. More details can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=576879#c5
* guestfish: Fix build error in 'print_shell_quote' function.Richard Jones2010-05-131-1/+1
| | | | | Amend commit 1c6ed48bd3cd471dc so the prototype of 'print_shell_quote' function is correct.
* fish: Fix guestfish -N option when called with unknown image type.Richard Jones2010-05-131-3/+5
| | | | | Previously it was falling off the end of the loop if you called it with an unknown image type.
* Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).Richard Jones2010-05-136-7/+8
|
* Fix error message in string-e command (RHBZ#588651).Richard Jones2010-05-132-4/+39
|
* guestfish -i and virt-inspector work on filenames containing spaces ↵Richard Jones2010-05-132-26/+88
| | | | | | | | | | | | | | (RHBZ#507810). This commit fixes a long-standing bug which prevented guestfish -i and virt-inspector from working on disk images which had a space in the filename (or other unsafe characters). It works by ensuring that the strings passed between guestfish -i and virt-inspector are quoted correctly in both directions. Note that this commit adds a dependency from virt-inspector to the perl module String::ShellQuote. We have previously used this module in virt-make-fs.
* Add version numbers to Perl modules (RHBZ#521674).Richard Jones2010-05-123-14/+27
| | | | | | | | | | Sys::Guestfs now contains a version number which reflects the ABI that we are compiled against, ie. '0.<MAX_PROC_NR>'. This has the beneficial side effect of causing an error if the user tries to mix versions of the Perl module and the XS code. Sys::Guestfs::Lib now contains a synthetic version number which will reflect future changes in that module.
* Update PO files, including extra strings from Perl files.Richard Jones2010-05-1212-25/+6098
|
* po: Include strings from Perl programs in the PO files (RHBZ#559963).Richard Jones2010-05-127-29/+39
| | | | | | | | | xgettext will only recognize '*.pl' as being a Perl file (otherwise it treats it as a C file and does not correctly find any strings in it). This commit also fixes two actual bugs that xgettext found in the strings in our Perl programs.
* po: Don't generate po/Makevars file and include Perl keywords (RHBZ#559963).Richard Jones2010-05-123-14/+43
| | | | | | | | | I don't see a reason to autogenerate po/Makevars, and in the earlier commit which changed this file to being autogenerated we accidentally lost the special Perl keywords, copyright notice and bug reporting address. Fix all of that. This partially reverts commit febff9d2a35c4f40abbaf8943146476bdeac671e.
* Reduce imported functions in virt-df to ones which are actually used.Richard Jones2010-05-121-3/+1
|
* New API: fill-pattern for creating files with predefined patterns.Richard Jones2010-05-123-2/+61
|
* Run udev_settle() after swapon/swapoff (RHBZ#516096).Richard Jones2010-05-121-0/+5
|
* fish: With both '-x' and '-i', pass through '-x' to inferior process.Richard Jones2010-05-121-0/+2
|
* Version 1.3.11.1.3.11Richard Jones2010-05-0813-915/+871
|
* virt-rescue: Add extra options.Richard Jones2010-05-081-1/+44
| | | | This commit adds the extra options '--append', '--memsize' and '--selinux'.
* virt-rescue: Refresh documentation.Richard Jones2010-05-081-12/+45
|
* Revert "fish: Add 'please wait' message when launching (and interactive)."Richard Jones2010-05-081-2/+0
| | | | This reverts commit 01fedcde05c930c1413e9fe0909fa1da1f360cdf.
* fish: Add 'please wait' message when launching (and interactive).Richard Jones2010-05-081-0/+2
|
* launch: Rearrange the code so config check is first.Richard Jones2010-05-081-12/+12
| | | | | | | Move the config state check first in the guestfs_launch function, so that we don't reset g->launch_t or calculate the temporary directory in the case where the launch function will immediately return with an error.
* generator: FishAction is no longer used, remove this feature.Richard Jones2010-05-081-5/+1
|
* fish: Make 'launch' function static.Richard Jones2010-05-083-15/+13
| | | | | | This commit makes the launch function static and private to 'fish.c', and changes the generator so the function is no longer called for the 'run/launch' command.
* fish: In 'reopen' copy trace setting to new handle.Richard Jones2010-05-081-0/+4
|
* Ignore test1.img file in directory.Richard Jones2010-05-081-0/+1
|
* fish -N option unconditionally overwrites test*.img files.Richard Jones2010-05-082-7/+1
| | | | | This is more convenient and makes it consistent with the 'alloc' and 'sparse' commands.
* fish: Make '-x' option enable traces instead of using separate echo path.Richard Jones2010-05-081-9/+1
| | | | | | Previously we had separate code paths for echoing commands (-x) and tracing (guestfs_set_trace). This just unifies that so that the guestfish -x option enables tracing.
* inspector: Support filesystem-on-image VMs (RHBZ#590167).Richard Jones2010-05-071-4/+15
| | | | | | $ virt-df /tmp/dbroot.img Filesystem 1K-blocks Used Available Use% /tmp/dbroot.img:/dev/vda 3096336 593628 2345424 20%
* daemon: Use 'error' instead of 'perror' before calling 'abort'.Richard Jones2010-05-071-4/+5
|
* daemon: gnulib module 'error' is used directly by the daemon.Richard Jones2010-05-071-0/+1
|
* daemon: Use parens around code section for safety.Richard Jones2010-05-071-1/+2
|
* If qemu dies during launch, set an error message (RHBZ#588851).Richard Jones2010-05-071-4/+11
|
* Version 1.3.10.1.3.10Richard Jones2010-05-0713-1747/+999
|