summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.6.1.1.6.1Richard W.M. Jones2010-11-0517-12327/+13054
|
* configure: Test for 'kvm' binary.Guido Günther2010-11-051-1/+1
| | | | (cherry picked from commit e51d6724d55c3a8c39b97c23abdf0b6168833e10)
* Include <stdarg.h> in public header.Guido Günther2010-11-051-0/+1
| | | | | | Public headers use va_list, and this gives an error unless <stdarg.h> had been included before the header. (cherry picked from commit 7fc338690f385c2495b7ba5f98346a5c057991ea)
* Don't print out key material in trace output.Richard W.M. Jones2010-11-051-2/+4
| | | | (cherry picked from commit 6283982e36eeb3d19940618dc0aec88da08c7516)
* fish: Fix missing guestfish commands in HTML docs.Richard W.M. Jones2010-11-051-1/+1
| | | | (cherry picked from commit ca236acc6773ba6712f499dc73a25e28acae85dc)
* virt-win-reg: Current is the control set Windows chooses at boot.Richard W.M. Jones2010-11-051-1/+1
| | | | (cherry picked from commit bfeffeb1e4d6f3725eb8148c098505a9d81a7ba5)
* HACKING: Mention PHP bindings.Richard W.M. Jones2010-11-051-0/+3
| | | | (cherry picked from commit 9694cd59f8250ae84c23922fda5cbb751e846e3c)
* docs: Indent *_va and *_argv functions correctly.Richard W.M. Jones2010-11-051-7/+7
| | | | | This fixes commit f661db2c393d1b7e4211c55682b7fac82a70e36d. (cherry picked from commit 19ea54b3f488755731ffc079519d6011dade9e5c)
* fish: Use a perfect hash for faster command lookups.Richard W.M. Jones2010-11-057-70/+196
| | | | | | | Existing command lookups are approx O(n^2). Replace this with a perfect hash implementation which should be a lot faster. (cherry picked from commit 58915725b1e464f7d447c0051ad916fbc1a82210)
* generator: Properly lay out and indent multi-line C function decls.Richard W.M. Jones2010-11-053-13/+44
| | | | (cherry picked from commit f661db2c393d1b7e4211c55682b7fac82a70e36d)
* docs: Clarify no additional error available from guestfs_create.Richard W.M. Jones2010-11-051-0/+6
| | | | (cherry picked from commit 5d6a91844520d07f9477e2ddca4caf8f040ef8a1)
* docs: Clarify default error handler.Richard W.M. Jones2010-11-051-1/+25
| | | | Cherry picked from commit 01d613ae957431d65c700a34e369ef4c06dd6d8f.
* docs: Error strings are in fact localized, documentation was wrong.Richard W.M. Jones2010-11-051-4/+0
| | | | Cherry picked from commit 6a218092812783eaea43919674eb8d1c74a80b33.
* docs: Clarify, not every function that returns int returns -1 for errors.Richard W.M. Jones2010-11-051-2/+3
| | | | Cherry picked from commit aae5bebe6878c01803653fae166c58b7217b6100.
* capitests: Test guestfs_add_drive_opts with optional args from C.Richard W.M. Jones2010-11-053-2/+70
| | | | (cherry picked from commit 2be1648632e5e8dca06d84349314ab5e84f29e5c)
* capitests: Test some basic aspects of the C API.Richard W.M. Jones2010-11-054-15/+147
| | | | (cherry picked from commit b535363e7e7a000cca3651790f911b2d0605968f)
* capitests: Use ftruncate instead of seek + write to create test files.Richard W.M. Jones2010-11-051-24/+6
| | | | (cherry picked from commit 162c89ed497212859d748506209ffc1b88763ab2)
* capitests: Don't open test files with O_NONBLOCK.Richard W.M. Jones2010-11-051-3/+3
| | | | | I have no idea why we were doing this. (cherry picked from commit ec0fe45e48fa4621fc6fa0f5bcc44f184068c86f)
* capitests: Set path in TESTS_ENVIRONMENT instead of in tests.cRichard W.M. Jones2010-11-052-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 (cherry picked from commit 2a33d81e2b7fa2affaaad48538307c818b4a8260)
* generator: Remove unnecessary macro redefinitions.Richard W.M. Jones2010-11-051-4/+0
| | | | | These macros are already defined in guestfs-internals.h (cherry picked from commit 8ccc6cd1f798f960e520ea8de24eb1f6a1313d3a)
* Define internal safe_calloc shorthand.Richard W.M. Jones2010-11-051-0/+1
| | | | (cherry picked from commit 6b8d05438cc0309f762fabf2f3cc7ae4bf5521c1)
* daemon: Don't use ../src path to include generator_protocol.hRichard W.M. Jones2010-11-0534-35/+35
| | | | | | This file is already hard-linked into the current directory, so the relative path is not required. (cherry picked from commit 9ff99418361cd1b56b00e4ffef52444021e60c72)
* tests: Remove use of sfdisk from tests.Richard W.M. Jones2010-11-051-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. (cherry picked from commit c5a6584c4fcc0051e1a333838d7562a4fba7ad1f)
* daemon: Tolerate failure of blockdev --rereadpt after sfdisk.Richard W.M. Jones2010-11-051-2/+1
| | | | | | See commit 840536ea5a0568296dfd3e483442c76b93c5a949 and commit 956fc5a3feacc970ea763697bf28fb686c875408. (cherry picked from commit 1937698c25fb9f066dba7b48ad4731927e3e74da)
* binary: Link guestmount static binary with -lm.Richard W.M. Jones2010-11-051-1/+1
| | | | | | This is indirectly required via the new shared guestfish C inspection code by libxml2. (cherry picked from commit 47d158596140328e12aa3b8028a77dd40bf12eeb)
* website: Distribute BUGS and RELEASE-NOTES files to website.Richard W.M. Jones2010-11-051-1/+1
| | | | (cherry picked from commit c36214c6825d77f1706c5eb5f6316bed88f240e4)
* Version 1.6.0.1.6.0Richard W.M. Jones2010-11-0217-3323/+3343
|
* Final RELEASE-NOTES file for version 1.6.0.Richard W.M. Jones2010-11-021-35/+80
| | | | (cherry picked from commit 3fac199a8b4f4580d348807769d964b94179cd7f)
* inspect: Add support for MeeGo.stable-1.6Richard W.M. Jones2010-11-024-1/+16
|
* Version 1.5.26.1.5.26Richard W.M. Jones2010-10-2917-3354/+3918
|
* inspect: Add support for Ubuntu.Richard Jones2010-10-295-2/+84
|
* inspect: Add detection of Gentoo.Richard Jones2010-10-294-0/+19
|
* inspect: Add detection of Arch Linux.Richard Jones2010-10-294-1/+18
|
* inspect: Add detection of Pardus.Richard Jones2010-10-294-0/+19
|
* inspect: Generic parsing of MAJOR.MINOR in product names.Richard Jones2010-10-291-16/+26
|
* inspect: Generic parsing of release files.Richard Jones2010-10-291-26/+25
|
* inspector: Sort <filesystems> section.Richard Jones2010-10-291-0/+1
|
* inspect: Ignore Pardus "/.swap" swapfile.Richard W.M. Jones2010-10-291-4/+5
|
* autogen: Touch ocaml/.dependRichard Jones2010-10-291-0/+4
|
* inspector: List Debian packages.Richard W.M. Jones2010-10-284-5/+10223
| | | | | List Debian packages by downloading and parsing the file /var/lib/dpkg/status.
* inspector: Introductory documentation for XML format.Richard W.M. Jones2010-10-281-0/+130
|
* inspector: Debian package format 'deb' instead of 'dpkg'.Richard W.M. Jones2010-10-283-3/+3
|
* inspector: Return canonical block device paths in XML.Richard W.M. Jones2010-10-287-22/+36
|
* Version 1.5.25.1.5.25Richard W.M. Jones2010-10-2817-13326/+12681
|
* Ensure atomic creation of a cached applianceMatthew Booth2010-10-284-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 optionsMatthew Booth2010-10-282-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 lineMatthew Booth2010-10-281-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_argvMatthew Booth2010-10-282-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. Jones2010-10-281-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. Jones2010-10-281-10/+3
| | | | | However the code is left since this function is used by virt-v2v amongst others.