summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* configure: Don't fail if GOBJECT_INTROSPECTION_CHECK is not defined.Richard Jones2012-03-301-9/+14
| | | | (cherry picked from commit 8111b108d224dda868f257ac0ef23838991b3594)
* tests: Don't include internal guestfs header in tests.Richard W.M. Jones2012-03-301-1/+10
| | | | (cherry picked from commit f35aadcd86a081756b35c1eb4326a9d23e82f21e)
* Ignore guestfs.pyo.Richard W.M. Jones2012-03-301-0/+1
| | | | | This fixes commit e8ef35df267de6fd6308d0c49a6bdef41113cf19. (cherry picked from commit a138063acb32f6fccfef24381a9c61f08d68ea74)
* Only ignore guestfs.* at the top levelMatthew Booth2012-03-301-1/+1
| | | | | | The guestfs.* rule appears to be for temporary appliance directories, which are only at the top level. It was matching more than that. (cherry picked from commit e8ef35df267de6fd6308d0c49a6bdef41113cf19)
* generator: Remove doc reference to non-existent guestfs_inotify_watch_allMatthew Booth2012-03-301-4/+2
| | | | (cherry picked from commit 13e5f1a3b1f6493ea5e576bdd607aedc2c7ddc82)
* generator: Fix unescaped '<' and '>' in api descriptionsMatthew Booth2012-03-301-4/+5
| | | | (cherry picked from commit 09a4e7664b59789f90b6674f640f9d688e4f8b43)
* fuse: Fix documentation for call to virt-filesystems.Richard W.M. Jones2012-03-301-1/+1
| | | | | virt-filesystems requires -a/-d option. (cherry picked from commit f5c31db5ed4225c263e6f508a85f38aa80411c0e)
* df: Avoid a compilation error if libxml2 is not available.Richard W.M. Jones2012-03-303-4/+4
| | | | | | | | | | | virt_df-domains.o: In function `add_domain': /home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk' guestfs___for_each_disk is only available when libvirt _and_ libxml2 dependencies are available at compile time. Thanks Tho Huynh. (cherry picked from commit f1d10672c7da94f8983b3b5d434e64b127da1242)
* Version 1.16.12.1.16.12Richard W.M. Jones2012-03-2318-23/+32
|
* Remove references to obsolete directory appliance/debian.Richard W.M. Jones2012-03-232-2/+0
| | | | | This directory has not existed for a long time. (cherry picked from commit fc198a3b9aeaa76ee7d6ffc27402d25a4379dbbd)
* generator: Generate a .gitignore file specifically for java structs.Richard W.M. Jones2012-03-214-12/+16
| | | | (cherry picked from commit 65ebec4a7a70cd179e4c39d72f539e500931c267)
* daemon: Set last errno to ENOTSUP when APIs are not available.Richard W.M. Jones2012-03-211-4/+6
| | | | (cherry picked from commit f62db21d8babc14d580f754b0bf4d0cbe3c5bc9d)
* daemon: Add reply_with_error_errno function.Richard W.M. Jones2012-03-212-6/+7
| | | | | | | This function allows you to pass an explicit errno back to the library. reply_with_error is redefined as a macro that calls reply_with_error_errno with errno == 0. (cherry picked from commit 7526df547c5bea9a0cb4370ca022e413388dce2e)
* inspection: Set last errno to ENOTSUP when inspection APIs are not available.Richard W.M. Jones2012-03-211-1/+1
| | | | | | | | | | | | | | | | Previously there was no programmatic way to tell if inspection APIs were unavailable because they are not compiled in (because hivex isn't around). This contrasts with daemon APIs where the availability is covered by the guestfs_available API. Change the inspection APIs so that when they are not available, the last errno is set to ENOTSUP. (Note that ENOTSUP must be defined on all POSIX platforms). This allows programs to detect if they are using a version of libguestfs that was compiled without support for inspection, without having to parse error messages. (cherry picked from commit c7dff02ccbb6bbe505c73df5d83bea8afdc188c3)
* po-docs: Rename LINGUAS -> linguas (RHBZ#804464).Richard W.M. Jones2012-03-211-4/+5
| | | | (cherry picked from commit e1ffb1011566ec68246df33ca42774b44ad5006c)
* Version 1.16.11.1.16.11Richard W.M. Jones2012-03-1620-627/+1209
|
* generator: Sort camel-case structs.Richard W.M. Jones2012-03-162-6/+7
| | | | (cherry picked from commit 14938b46a74467d0e4b1cd076ffd7fcbf06c26eb)
* generator: Fix CompareWithString test.Richard W.M. Jones2012-03-161-1/+1
| | | | | | This type of test was not used, and in fact the generated test simply didn't work. (cherry picked from commit 6bee63beb45678ff937593af59748dfceacdc608)
* generator: Fix FUInt{32,64} struct field types.Richard W.M. Jones2012-03-161-2/+4
| | | | | | | We were not using an unsigned type in the XDR. This doesn't affect data integrity or the protocol, but it makes it more complicated for the daemon to set these fields. (cherry picked from commit c8630300b8ab46c668da1c8d5c1cdb9d1e3a4552)
* daemon: Don't call reply_with_* after split_lines fails.Richard W.M. Jones2012-03-162-6/+2
| | | | | | split_lines already sets reply_with_*, so calling it again would lose protocol synchronization. (cherry picked from commit 710ec49bac8bce10bfc0b9ba4b34d877c22f7287)
* inspect: Fedora/RHEL CDs are multipart if totaldiscs > 1, not > 0.Richard W.M. Jones2012-03-161-1/+1
| | | | (cherry picked from commit 974dffc6769b732befe85bcd8f614b9600927631)
* inspect: Add comment documenting findings of RHEL 5, 6 install CDs.Richard W.M. Jones2012-03-161-0/+58
| | | | (cherry picked from commit 5749de39c2b44644662fb176784731bce851b828)
* sparsify: Add a note about encrypted disks to the man page.Richard W.M. Jones2012-03-161-1/+2
| | | | (cherry picked from commit 1c1ecb2c419382f1677501b22cb98a06c7abe9a9)
* sparsify: Unlink temporary overlay file if user presses ^C.Richard W.M. Jones2012-03-161-1/+5
| | | | | | Add a signal handler so this potentially large temporary file is removed when the user hits ^C. (cherry picked from commit 7283a5a2765c0670e9dceec70e626a49a30d269c)
* sparsify: Use zero-device instead of dd if=/dev/zero to zero device.Richard W.M. Jones2012-03-161-5/+3
| | | | | | zero-device is more efficient in general, and avoids writing to blocks which are already zero. (cherry picked from commit 8c9f6a64be9840a955e481e932f13d005c0de0de)
* sparsify: Only print qemu-img command if verbose.Richard W.M. Jones2012-03-161-1/+1
| | | | (cherry picked from commit 7934ea2395d2a417fbc20efc22573113f7ae9d7a)
* inspect: Ignore missing HKLM\SYSTEM\MountedDevices (RHBZ#803664).Richard W.M. Jones2012-03-161-4/+6
| | | | | | | When a Windows guest doesn't have a HKLM\SYSTEM\MountedDevices node, inspection fails. However inspection should not completely fail just because we cannot get the drive letter mapping from a guest. (cherry picked from commit 91cede3465cd2496a01a89d5c8815df7c326c2ec)
* inspector: Update man page to describe how to access inspection info from ↵Richard W.M. Jones2012-03-161-6/+112
| | | | | | other languages and guestfish. (cherry picked from commit 2bc922dd8e12bcf05e0aeef8a8b60b6aab9ee915)
* Add guestfsd.suppressions file to EXTRA_DIST.Richard W.M. Jones2012-03-141-2/+3
| | | | (cherry picked from commit c23f3b8e527bde9a83dd7ae24273db6da87a7268)
* java: Make sure generator is rerun when necessary to rebuild generated files.Richard W.M. Jones2012-03-141-9/+7
| | | | (cherry picked from commit 13e7a1b400b7e2a5e9335d25205b09e74c89d858)
* appliance: Enhance --enable-valgrind-daemon with a suppressions file.Richard W.M. Jones2012-03-143-3/+26
| | | | | This lets us suppress errors in system libraries. (cherry picked from commit 302309921a8cde83eb19a7c25b7ee43932b91a05)
* daemon: When copy subprocess fails, print return code.Richard W.M. Jones2012-03-141-1/+1
| | | | | Useful for debugging. (cherry picked from commit 5da61d30520315a7d5060137a6c109f2109a7631)
* Version 1.16.10.1.16.10Richard W.M. Jones2012-03-1320-6492/+6540
|
* Fix strict-overflow bugs and reenable this warning.Richard W.M. Jones2012-03-132-4/+4
| | | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead. (cherry picked from commit d66dd2260c724bdfe57a8595aac37c8e9173cee5)
* fish: Rename tests and make test paths relative.Richard W.M. Jones2012-03-1315-49/+49
| | | | | | | | | | | When these tests were originally in the old regressions/ directory, they used to refer to guestfish via the path '../fish/guestfish'. Some of the tests were also called 'test-guestfish-*'. Now that the tests have been moved into the fish/ directory, neither of these things make sense. So change the relative path to './guestfish' and rename all 'test-guestfish-*' as 'test-*'. (cherry picked from commit 1f603bfd6d7cd17e88f737a496b7e5ee053750c2)
* tests: Remove/fix unused variables warnings.Richard W.M. Jones2012-03-132-1/+1
| | | | (cherry picked from commit 2c8ead5aa0e6b821bf2d21a89e437e9a6c0ed1ca)
* tests: Remove unused variable.Richard W.M. Jones2012-03-131-1/+0
| | | | (cherry picked from commit 099e3dd9f129e05bff5512855ea89530a7999004)
* erlang: Remove unused variables.Richard W.M. Jones2012-03-131-2/+0
| | | | (cherry picked from commit 6292e630da080eb5d3427af6190eb68fe4eb1415)
* format: Remove unused variables.Richard W.M. Jones2012-03-131-1/+1
| | | | (cherry picked from commit e9e0920c00c55894358559bcdbd89d55cbb66d2a)
* daemon: Remove unused variables.Richard W.M. Jones2012-03-132-8/+0
| | | | (cherry picked from commit 13c2db39abff3c0050eade5bcce997afdf04d721)
* inspect: Move variable decl to top of function.Richard W.M. Jones2012-03-131-1/+3
| | | | (cherry picked from commit 46d1280100b025de2a448331306e794d688748bd)
* lib: Remove some unused variables.Richard W.M. Jones2012-03-134-7/+1
| | | | (cherry picked from commit cd3f2986eee8dbadc8253d4c3462f7e214f1236d)
* lib: Use size_t for allocation size in safe realloc function.Richard W.M. Jones2012-03-132-2/+2
| | | | (cherry picked from commit b8cdf6c2b9d12df6acbe295fd75c8c59c8b7eec1)
* bindtests: Use size_t instead of int for array iterators.Richard W.M. Jones2012-03-131-7/+7
| | | | (cherry picked from commit 24413ac4d8c8d64b3339f9e61886db8f7fbfed4f)
* e2fsck: Comment, whitespace, error message cleanups.Richard W.M. Jones2012-03-131-2/+2
| | | | (cherry picked from commit 4c9218658e4d4b769acaa41d999b4bce437fbc37)
* Close all file descriptors and remove all signal handlers in the recovery ↵Richard W.M. Jones2012-03-131-0/+25
| | | | | | | | | | | | | | | | | | process. If the parent process uses a pipe (or any fd, but pipes are a particular problem), then the recovery process would hold open the file descriptor(s) of the pipe, meaning that it could not be fully closed in the parent. Because the recovery process doesn't use exec(2), this wasn't avoidable even using FD_CLOEXEC. Avoid this by closing all file descriptors when starting the recovery process. After discussion with Dan Berrange, he points out that it's also a good idea to set signal handlers to the default after forking, so that any signal handlers set up in the parent don't affect the child. (cherry picked from commit f1f045adf8d00549dd3efa3619e1162f9004b61e)
* extra-tests: Export LIBVIRT_DEFAULT_URI to pick-guests.pl.Richard W.M. Jones2012-03-131-1/+6
| | | | | This fixes commit 2912e4e1173226f461517a0008664e01b5d3066d. (cherry picked from commit 99702fe443383707b9d9c1b84570baf3bebf9253)
* extra-tests: Check that guests are accessible before picking them.Richard W.M. Jones2012-03-132-11/+65
| | | | (cherry picked from commit 2912e4e1173226f461517a0008664e01b5d3066d)
* Version 1.16.9.1.16.9Richard W.M. Jones2012-03-081-1/+1
|
* fish: Document that guestfish sets pgroup to true (RHBZ#801273).Richard W.M. Jones2012-03-081-1/+3
| | | | (cherry picked from commit 0721464b83915fbfae6d6a9da787f5069b2c6d6a)