Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 1.7.1.1.7.1 | Richard W.M. Jones | 2010-11-03 | 17 | -12531/+13379 |
| | |||||
* | fish: Use a perfect hash for faster command lookups. | Richard W.M. Jones | 2010-11-03 | 6 | -70/+191 |
| | | | | | | Existing command lookups are approx O(n^2). Replace this with a perfect hash implementation which should be a lot faster. | ||||
* | generator: Properly lay out and indent multi-line C function decls. | Richard W.M. Jones | 2010-11-03 | 3 | -13/+44 |
| | |||||
* | docs: Clarify no additional error available from guestfs_create. | Richard W.M. Jones | 2010-11-03 | 1 | -0/+6 |
| | |||||
* | docs: Clarify default error handler. | Richard W.M. Jones | 2010-11-03 | 1 | -1/+26 |
| | |||||
* | docs: Error strings are in fact localized, documentation was wrong. | Richard W.M. Jones | 2010-11-03 | 1 | -4/+0 |
| | |||||
* | docs: Clarify, not every function that returns int returns -1 for errors. | Richard W.M. Jones | 2010-11-03 | 1 | -2/+2 |
| | |||||
* | capitests: Test guestfs_last_errno call. | Richard W.M. Jones | 2010-11-03 | 3 | -2/+154 |
| | |||||
* | fuse: Use guestfs_last_errno instead of errno-reversal-hack. | Richard W.M. Jones | 2010-11-03 | 1 | -31/+1 |
| | |||||
* | lib: Expose errno through new API guestfs_last_errno. | Richard W.M. Jones | 2010-11-03 | 14 | -32/+213 |
| | | | | | | | If either the daemon sends back an errno, or a system call fails in the library, save the errno in the handle and then make it available to callers through the guestfs_last_errno function. | ||||
* | daemon: Send back the errno as a string. | Richard W.M. Jones | 2010-11-03 | 11 | -8/+316 |
| | | | | | | | | This changes the protocol again so that if the errno is available, it is converted to a string (like "EIO") and sent back over the protocol to the library. In this commit the library just discards the string. | ||||
* | capitests: Test guestfs_add_drive_opts with optional args from C. | Richard W.M. Jones | 2010-11-03 | 3 | -2/+70 |
| | |||||
* | capitests: Test some basic aspects of the C API. | Richard W.M. Jones | 2010-11-03 | 4 | -15/+147 |
| | |||||
* | capitests: Use ftruncate instead of seek + write to create test files. | Richard W.M. Jones | 2010-11-03 | 1 | -24/+6 |
| | |||||
* | capitests: Don't open test files with O_NONBLOCK. | Richard W.M. Jones | 2010-11-03 | 1 | -3/+3 |
| | | | | I have no idea why we were doing this. | ||||
* | capitests: Set path in TESTS_ENVIRONMENT instead of in tests.c | Richard W.M. Jones | 2010-11-03 | 2 | -2/+1 |
| | | | | | By exporting LIBGUESTFS_PATH with the right path to the appliance, we no longer need to hard code the path in tests.c | ||||
* | generator: Remove unnecessary macro redefinitions. | Richard W.M. Jones | 2010-11-03 | 1 | -4/+0 |
| | | | | These macros are already defined in guestfs-internals.h | ||||
* | Define internal safe_calloc shorthand. | Richard W.M. Jones | 2010-11-03 | 1 | -0/+1 |
| | |||||
* | daemon: Don't use ../src path to include generator_protocol.h | Richard W.M. Jones | 2010-11-03 | 34 | -35/+35 |
| | | | | | This file is already hard-linked into the current directory, so the relative path is not required. | ||||
* | tests: Remove use of sfdisk from tests. | Richard W.M. Jones | 2010-11-02 | 1 | -11/+41 |
| | | | | | | | Some older tests used sfdisk to create partitions for the tests. sfdisk is buggy (more so than parted -- what is it with partitioning tools?) so replace these tests with equivalent part-* commands. | ||||
* | daemon: Tolerate failure of blockdev --rereadpt after sfdisk. | Richard W.M. Jones | 2010-11-02 | 1 | -2/+1 |
| | | | | | See commit 840536ea5a0568296dfd3e483442c76b93c5a949 and commit 956fc5a3feacc970ea763697bf28fb686c875408. | ||||
* | binary: Link guestmount static binary with -lm. | Richard W.M. Jones | 2010-11-02 | 1 | -1/+1 |
| | | | | | This is indirectly required via the new shared guestfish C inspection code by libxml2. | ||||
* | website: Distribute BUGS and RELEASE-NOTES files to website. | Richard W.M. Jones | 2010-11-02 | 1 | -1/+1 |
| | |||||
* | Version 1.7.0.1.7.0 | Richard W.M. Jones | 2010-11-02 | 17 | -3323/+3343 |
| | |||||
* | Final RELEASE-NOTES file for version 1.6.0. | Richard W.M. Jones | 2010-11-02 | 1 | -35/+80 |
| | |||||
* | inspect: Add support for MeeGo.stable-1.6 | Richard W.M. Jones | 2010-11-02 | 4 | -1/+16 |
| | |||||
* | Version 1.5.26.1.5.26 | Richard W.M. Jones | 2010-10-29 | 17 | -3354/+3918 |
| | |||||
* | inspect: Add support for Ubuntu. | Richard Jones | 2010-10-29 | 5 | -2/+84 |
| | |||||
* | inspect: Add detection of Gentoo. | Richard Jones | 2010-10-29 | 4 | -0/+19 |
| | |||||
* | inspect: Add detection of Arch Linux. | Richard Jones | 2010-10-29 | 4 | -1/+18 |
| | |||||
* | inspect: Add detection of Pardus. | Richard Jones | 2010-10-29 | 4 | -0/+19 |
| | |||||
* | inspect: Generic parsing of MAJOR.MINOR in product names. | Richard Jones | 2010-10-29 | 1 | -16/+26 |
| | |||||
* | inspect: Generic parsing of release files. | Richard Jones | 2010-10-29 | 1 | -26/+25 |
| | |||||
* | inspector: Sort <filesystems> section. | Richard Jones | 2010-10-29 | 1 | -0/+1 |
| | |||||
* | inspect: Ignore Pardus "/.swap" swapfile. | Richard W.M. Jones | 2010-10-29 | 1 | -4/+5 |
| | |||||
* | autogen: Touch ocaml/.depend | Richard Jones | 2010-10-29 | 1 | -0/+4 |
| | |||||
* | inspector: List Debian packages. | Richard W.M. Jones | 2010-10-28 | 4 | -5/+10223 |
| | | | | | List Debian packages by downloading and parsing the file /var/lib/dpkg/status. | ||||
* | inspector: Introductory documentation for XML format. | Richard W.M. Jones | 2010-10-28 | 1 | -0/+130 |
| | |||||
* | inspector: Debian package format 'deb' instead of 'dpkg'. | Richard W.M. Jones | 2010-10-28 | 3 | -3/+3 |
| | |||||
* | inspector: Return canonical block device paths in XML. | Richard W.M. Jones | 2010-10-28 | 7 | -22/+36 |
| | |||||
* | Version 1.5.25.1.5.25 | Richard W.M. Jones | 2010-10-28 | 17 | -13326/+12681 |
| | |||||
* | Ensure atomic creation of a cached appliance | Matthew Booth | 2010-10-28 | 4 | -13/+154 |
| | | | | | | | | | | | | | | | | | | | | Cached appliances are discovered by their predictable path. Previously we were creating a cached appliance directly in this predictable path. This had at least 2 undesirable effects: * Interrupting appliance creation would leave a corrupt appliance * 2 processes could simultaneously attempt to create the same appliance, causing corruption. This patch causes the cached appliance to be created in a temporary directory, and then renamed to the predictable path. As rename is an atomic operation, this makes the whole creation atomic. This patch also changes the predictable path to have a prefix of 'guestfs.'. This will make it simpler for system administrators to clean up old cached appliances. This patch resolves RHBZ#639405 | ||||
* | Call febootstrap-supermin-helper using the new -u and -g options | Matthew Booth | 2010-10-28 | 2 | -38/+35 |
| | | | | | | | | | | | | | | Use febootstrap-supermin-helper's new -u and -g command line options to setuid, rather than doing it in libguestfs. This resolves an issue with the generation of the cached appliance checksum. The checksum was being generated by a call to febootstrap-supermin-helper through popen(). Unfortunately, a bash misfeature meant that euid would be reset to uid, and the checksum was generated for uid, not euid. When virt-v2v is writing to a RHEV target, uid == 0 and euid == 36, which resulted in a cached appliance being created for root with permissions for uid 36. Note this requires febootstrap 2.10. | ||||
* | Log the febootstrap-supermin-helper command line | Matthew Booth | 2010-10-28 | 1 | -26/+29 |
| | | | | | | A side-effect of change 17e7cb9937a63ed8f9bb0fb6ac7302758be76846 was the the febootstrap-supermin-helper was no longer logged. This change adds it back using the new guestfs___print_timestamped_argv internal function. | ||||
* | New internal function guestfs___print_timestamped_argv | Matthew Booth | 2010-10-28 | 2 | -24/+25 |
| | | | | | | | This function generalises the existing print_cmdline used to output the qemu command line to output any given command line, and exports it to other modules. It also adds a timestamp to the old print_cmdline output for consistency with guestfs___print_timestamped_message. | ||||
* | list-filesystems: Use core list-filesystems API (RHBZ#642933). | Richard W.M. Jones | 2010-10-28 | 1 | -42/+12 |
| | | | | | | Change virt-list-filesystems to use the core inspection API instead of the deprecated Sys::Guestfs::Lib::get_partitions function. | ||||
* | Sys::Guestfs::Lib: deprecate get_partitions (RHBZ#642933). | Richard W.M. Jones | 2010-10-28 | 1 | -10/+3 |
| | | | | | However the code is left since this function is used by virt-v2v amongst others. | ||||
* | inspector: Rewrite virt-inspector (RHBZ#642930). | Richard W.M. Jones | 2010-10-28 | 9 | -24234/+3095 |
| | | | | | | | | | | | | Rewrite virt-inspector: - remove old and unsupportable features - use the C inspection API - don't run programs from the guest The RNG has been updated to reflect the new XML-only output. The new example files show the new XML output. | ||||
* | tools: Use C API for inspection (RHBZ#642930). | Richard W.M. Jones | 2010-10-28 | 5 | -101/+87 |
| | | | | | | | | | | | | | Update the following tools to use the C API for inspection: - virt-cat - virt-edit - virt-ls - virt-tar - virt-win-reg None of the tools in the tools/ directory now use the deprecated Perl inspection APIs. | ||||
* | New API: inspect-get-windows-systemroot to get systemroot. | Richard W.M. Jones | 2010-10-28 | 3 | -23/+47 |
| | | | | | | We are already using heuristics in the C inspection code to determine the Windows %SYSTEMROOT% directory. This change just exposes this information through the API. |