summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.10.3.1.10.3Richard W.M. Jones2011-05-1819-1978/+2475
|
* build: Sort EXTRA_DIST into lexicographic order.Richard W.M. Jones2011-05-181-13/+13
| | | | (cherry picked from commit 48c91ac03cb0a6ac351822fe70200abb8ac7f761)
* daemon: Remove some less useful debugging messages.Richard W.M. Jones2011-05-187-61/+7
| | | | | | | | | Remove some debug messages which were basically left over from when the code was being developed. However we leave debug messages where it is printing an external command that is about to be executed, since those are useful. (cherry picked from commit 5ce759bfdc70c97121ef34ab4d5c918d568f2474)
* Fix guestfs___rollback_cmdline when pos == 0.Richard W.M. Jones2011-05-181-1/+1
| | | | | | | | | Because of the previous change to size_t, when pos == 0 the loop would wrap around and cause a segmentation fault. This fixes a regression introduced by commit 10167cea98f93a74abe63f0a54d3a662997e7489. (cherry picked from commit 607aa95de927b5b8e4b212655c71bf21acbba372)
* configure: Sort output files in AC_CONFIG_FILES section.Richard W.M. Jones2011-05-181-21/+30
| | | | (cherry picked from commit 8ee0ad0caf2f90f4883909cd9b61c4dd6f9cffbf)
* doc: Use I<-...> for cross-references to command line options.Richard W.M. Jones2011-05-188-50/+50
| | | | | This is now used consistently across all the documentation. (cherry picked from commit c49fc3831d12788c27b90d12f06a1cd69a88e3be)
* df: Refresh virt-df(1) man page.Richard W.M. Jones2011-05-181-18/+31
| | | | | | | | | Add examples. Refresh description. Use I<...> to refer to command line options. (cherry picked from commit 988a8784647a66adbece3c9fb470c06a4cce3cdd)
* guestfs(3): Note that host file size limits affect guest disk limits.Richard W.M. Jones2011-05-181-0/+9
| | | | (cherry picked from commit 805e6dbc15eae5a4f85eea3c37e295aefaefeb69)
* guestfs(3): Refresh documentation for private data area keys.Richard W.M. Jones2011-05-181-5/+6
| | | | (cherry picked from commit 40f2b698ac765128bfcda5f0db893c95d09ae89a)
* guestfs(3): Referenced section is above, not below.Richard W.M. Jones2011-05-181-1/+1
| | | | (cherry picked from commit 108d7a134c5d26b967fa7162d9b80b40112c2869)
* guestfs(3): Refresh autosync gotcha documentation.Richard W.M. Jones2011-05-181-3/+3
| | | | (cherry picked from commit a5e421570cc840f70f2931e24b3df40c9a14cd2d)
* guestfs(3): Writing to a file descriptor, not just a pipe.Richard W.M. Jones2011-05-181-1/+1
| | | | (cherry picked from commit 470e373eea218c8d46b0c63dda93ee9ece48940f)
* guestfs(3): Refresh documentation for guestfs_create, guestfs_close.Richard W.M. Jones2011-05-181-5/+12
| | | | (cherry picked from commit dd86183f3f6d4d5ad28e1f12c56ba920934e7ad0)
* internal: Use size_t instead of int for command line size.Richard W.M. Jones2011-05-184-9/+9
| | | | (cherry picked from commit 10167cea98f93a74abe63f0a54d3a662997e7489)
* guestfs_close: Move local variables close to code that uses them.Richard W.M. Jones2011-05-181-3/+4
| | | | | This is just code motion. (cherry picked from commit 478b2d80ed1d613f621e89a97a0b140004ebac29)
* guestfs_close: Remove unused local variable.Richard W.M. Jones2011-05-181-2/+1
| | | | (cherry picked from commit b2f8627ab59daeb03f036dde6c66fb9da736950c)
* guestfs(3): Document limits.Richard W.M. Jones2011-05-181-23/+91
| | | | (cherry picked from commit c0f96e9c6eda77e5e99de862dd4366010e4a1ab8)
* zero: Disable file test because of bug in file command.Richard W.M. Jones2011-05-181-3/+2
| | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=705499 (cherry picked from commit f55b32b2db83495fc0987f0fe0e979818704dff1)
* Version 1.10.2.1.10.2Richard W.M. Jones2011-04-2419-6146/+6209
|
* python: Rearrange C files for bindings.Richard W.M. Jones2011-04-245-81/+139
| | | | | | | | Move the hand-written functions into two new files: guestfs-py.h and guestfs-py-byhand.c This is just code motion. (cherry picked from commit 16da7589e91b0030fb5564553447f80b97c0b18c)
* perl: Decrement refcount in $g->delete_event_callback.Richard W.M. Jones2011-04-241-3/+7
| | | | | This updates commit bc468c87d04b34faacd208c49cca4a5096e5103c. (cherry picked from commit 3acf732c2f23d8508f692efb2b222169914bfcdc)
* inspect: Look for %systemroot%/system32 for Windows heuristic.Richard W.M. Jones2011-04-241-3/+3
| | | | | | The virt-v2v transfer ISO had a /windows directory. The core inspection code thought this was a Windows root filesystem. (cherry picked from commit 0da6f55a6745686ca056c6bc8ebf647f111cb8e8)
* list-applications: If software hive is missing, this is an error.Richard W.M. Jones2011-04-241-5/+5
| | | | | | virt-inspector would exit silently if list-applications failed along this error path. (cherry picked from commit 782f3a36469ca396dbf998ea82af2699153be3ed)
* inspect: "centos" and "scientificlinux" are now separate distros.Richard W.M. Jones2011-04-245-4/+88
| | | | | Previously we returned "rhel" for these, which was not accurate. (cherry picked from commit 2b0ca7e7b8d369a42a51b1feec72ae8f17257c78)
* Version 1.10.11.10.1Richard W.M. Jones2011-04-1819-1482/+1784
|
* python: Release Python GIL while running libguestfs calls.Richard W.M. Jones2011-04-181-0/+19
| | | | | | | | | | | | | | | | | | | Release the Python global interpreter lock while running libguestfs calls. We don't release it around guestfs_create() because that is a short call that just allocates memory. We do release it around guestfs_close() since that is a potentially long-running (it can call wait(2) amongst other things). We also release it around all the other generated Python calls. We don't yet support callbacks into Python code (ie. the new event API). But when we do in future, we will need to also handle the GIL around those callbacks. This code is adapted from libvirt's python/typewrappers.h. Thanks to Dan Berrange for showing us how to do this properly. (cherry picked from commit 08dc4a87b92435678780e9c49fe3bc1e7465d99f)
* fish: --rw option will be mandatory in 1.12 not 1.10.Richard W.M. Jones2011-04-181-2/+2
| | | | (cherry picked from commit a3cce465570bf192e993a67feedfbab7e662c75a)
* fish: Fix typo in guestfish man page (--format option).Richard W.M. Jones2011-04-181-1/+1
| | | | (cherry picked from commit 4c2bb8b301970e8853a8feaa95e3698224640fba)
* inspector: Refresh the virt-inspector(1) manpage.Richard W.M. Jones2011-04-181-4/+56
| | | | (cherry picked from commit 34d9fed24ad6a2d2e13bb817820e31373f6756e1)
* run script: Don't depend on libtool being installed.Richard W.M. Jones2011-04-181-1/+7
| | | | | Also use 'exec' to run the program. (cherry picked from commit 5d139fa8a4a7f9ff65e7b936fd7376f661c72f48)
* Remove local LIBGUESTFS_PATH detection from guestfish and guestmount.Richard W.M. Jones2011-04-188-41/+13
| | | | | | | | | | | | Remove the hack that let you run ./fish/guestfish or ./fuse/guestmount. You now have to do: ./run ./fish/guestfish or ./run ./fuse/guestmount to run these programs without installing. (cherry picked from commit 33a2c184e12c0bdbf061a9f36c87d76c28444712)
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-1819-490/+79
| | | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script. (cherry picked from commit 5790f5bfafb12cc2ed9365461bf66e0fdfde7150)
* inspector: Handle write failures when creating example-*.xml.Richard W.M. Jones2011-04-181-4/+12
| | | | (cherry picked from commit 0108d7861d4cc9a1f0d87d89080d1be7750e54b5)
* Delete file so db_load doesn't run incrementally.Richard W.M. Jones2011-04-181-1/+3
| | | | | | | | | | | It turns out that db_load incrementally updates the database (instead of writing a new one). Remove the old database to force db_load to write a new one. This also ensures that we handle write failure gracefully. Cherry picked from commit 67493bfca44d436143d825b155bf2bc38990ea82 and backported to stable-1.10 branch.
* inspector: Include <hostname> in output.Richard W.M. Jones2011-04-186-0/+13
| | | | (cherry picked from commit 36d3a4ce53317b104d48b60c9fe1ed679065d1d4)
* inspect: Abstract out db_dump code for listing RPM applications.Richard W.M. Jones2011-04-185-81/+252
| | | | | | | | | | | | There are two changes here: (1) The code for listing RPM applications ran db_dump and parsed the output. We abstract out that parsing code into a separate reusable module (src/dbdump.c). (2) The old db_dump parsing code used db_dump -p (printable) format. Instead use db_dump -k (hex) format so we can read binary fields. (cherry picked from commit a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078)
* inspect: Split code into separate files.Richard W.M. Jones2011-04-1812-2533/+2887
| | | | | | | | | | | | | | | | | | The src/inspect.c file had grown rather large -- 3,500 lines. Split it across several files according to function. This is just moving code. After the split the files are more evenly divided: 536 src/inspect_apps.c 766 src/inspect.c 537 src/inspect_fs.c 404 src/inspect_fs_cd.c 785 src/inspect_fs_unix.c 535 src/inspect_fs_windows.c 3563 total (cherry picked from commit 3336b5448f12c9eb25bf7a0cecda1315c4cf07ea)
* inspect: Move shared PCRE match functions to separate file.Richard W.M. Jones2011-04-184-98/+129
| | | | | This is just moving code around. (cherry picked from commit 439a42efdb052748c8457f866b2c68a581034826)
* inspect: Cache downloaded files in the handle g->tmpdir.Richard W.M. Jones2011-04-181-56/+72
| | | | | | | | | | | | | | | | | | | During inspection we download various files such as the Windows 'software' and 'system' registries. Previously these were downloaded as temporary files and discarded immediately after use. This meant that the 'software' registry was being downloaded twice by virt-inspector (it's required once for basic OS inspection, and a second time to list Windows applications). This commit changes this so that these files are cached in g->tmpdir, and thus the second time we just reuse the file we've already downloaded. Callers shouldn't be relying on inspect-list-applications to reread the actual registry from the VM (unless you close and reopen the handle). It says in the documentation that the results of inspection may be cached in the handle. (cherry picked from commit 3c1f762abed92f7a358f3bc93e3396d0606b18ad)
* Remove temporary directory containing arbitrary files.Richard W.M. Jones2011-04-181-9/+40
| | | | | | | | | In preparation for caching inspection information in the temporary directory (g->tmpdir), allow the temporary directory to contain arbitrary files, and remove all of them when the handle is closed. This just generalizes the previous method of cleaning up the tmpdir. (cherry picked from commit 70975981bed8e0c01b5966c10b507bb82086e5f8)
* Include string.h and libintl.h, as needed.Jim Meyering2011-04-186-4/+13
| | | | | | | | | | * df/df.c: As above. * df/main.c: As above. * df/output.c: As above. * fuse/guestmount.c: As above. * inspector/virt-inspector.c: As above. * rescue/virt-rescue.c: As above. (cherry picked from commit 6740028b333840eec5e8e46e8512f8155728b037)
* Add more missing include directives.Jim Meyering2011-04-183-3/+9
| | | | | | | * cat/virt-cat.c: Include string.h and libintl.h. * cat/virt-filesystems.c: Likewise. * cat/virt-ls.c: Likewise. (cherry picked from commit ace1795d1045be96f92a68e6b61ffdee60431fef)
* debian: Add dependency on libpcre-ocaml-dev.Nikita A Menkovich2011-04-181-1/+3
| | | | (cherry picked from commit 173c374bd01e84deafdaf1f9aa65b0f623e86470)
* Add missing include directives.Jim Meyering2011-04-183-2/+5
| | | | | | | * fish/config.c: Include string.h, for use of strlen. * fish/keys.c: Likewise, but for use of memcpy. * fish/man.c: Likewise, but for use of memset. (cherry picked from commit 0db662eae54b21fccadabe817afbc0fa89d980b2)
* Avoid warning about implicit declaration of strlen.Jim Meyering2011-04-181-0/+1
| | | | | * src/events.c: Include <string.h>, for use of strlen. (cherry picked from commit a53833fdd21cd573fe8fd02d7a11a3a5e9764ce0)
* debian: libguestfs-test-tool-helper no longer exists.Richard W.M. Jones2011-04-181-1/+0
| | | | (cherry picked from commit 6ec2ed20cbbad871a8b48389cbe5785bb929c99f)
* resize: Include stamp file for manpage in CLEANFILES.Richard W.M. Jones2011-04-181-0/+2
| | | | (cherry picked from commit 0d9f2c7311b005b2cfe2ecb3ff9fb57d4576ef7b)
* Version 1.10.0.1.10.0Richard W.M. Jones2011-04-1219-2467/+2460
|
* Update RELEASE-NOTES for 1.10 release.stable-1.10Richard W.M. Jones2011-04-121-14/+21
|
* Update ROADMAP for 1.12 and beyond.Richard W.M. Jones2011-04-121-16/+14
|