summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.11.3.1.11.3Richard W.M. Jones2011-04-2219-6146/+6209
|
* python: Implement new event API.Richard W.M. Jones2011-04-225-2/+261
| | | | | This implements set_event_callback and delete_event_callback so that Python programs can use the new event mechanism.
* python: Rearrange C files for bindings.Richard W.M. Jones2011-04-225-81/+139
| | | | | | | Move the hand-written functions into two new files: guestfs-py.h and guestfs-py-byhand.c This is just code motion.
* perl: Decrement refcount in $g->delete_event_callback.Richard W.M. Jones2011-04-221-3/+7
| | | | This updates commit bc468c87d04b34faacd208c49cca4a5096e5103c.
* inspect: Look for %systemroot%/system32 for Windows heuristic.Richard W.M. Jones2011-04-211-3/+3
| | | | | The virt-v2v transfer ISO had a /windows directory. The core inspection code thought this was a Windows root filesystem.
* list-applications: If software hive is missing, this is an error.Richard W.M. Jones2011-04-211-5/+5
| | | | | virt-inspector would exit silently if list-applications failed along this error path.
* inspect: "centos" and "scientificlinux" are now separate distros.Richard W.M. Jones2011-04-215-4/+88
| | | | Previously we returned "rhel" for these, which was not accurate.
* Update TODO.Richard W.M. Jones2011-04-211-0/+31
|
* Version 1.11.2.1.11.2Richard W.M. Jones2011-04-1819-31/+30
|
* 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.
* fish: --rw option will be mandatory in 1.12 not 1.10.Richard W.M. Jones2011-04-161-2/+2
|
* fish: Fix typo in guestfish man page (--format option).Richard W.M. Jones2011-04-161-1/+1
|
* inspector: Refresh the virt-inspector(1) manpage.Richard W.M. Jones2011-04-161-4/+56
|
* run script: Don't depend on libtool being installed.Richard W.M. Jones2011-04-161-1/+7
| | | | Also use 'exec' to run the program.
* Version 1.11.1.1.11.1Richard W.M. Jones2011-04-1617-1470/+1773
|
* Add images/guestfs-aux/fedora-packages.db{,.txt} to EXTRA_DIST.Richard W.M. Jones2011-04-161-0/+2
| | | | This updates commit d95874db3dc6c415061b86275d03770b4f28ffbb.
* Remove local LIBGUESTFS_PATH detection from guestfish and guestmount.Richard W.M. Jones2011-04-168-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.
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-1619-490/+79
| | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script.
* inspector: Handle write failures when creating example-*.xml.Richard W.M. Jones2011-04-141-4/+12
|
* Delete file so db_load doesn't run incrementally.Richard W.M. Jones2011-04-141-2/+6
| | | | | | | | 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.
* inspector: Include <hostname> in output.Richard W.M. Jones2011-04-146-0/+13
|
* inspect: Get version and release of RPM packages.Richard W.M. Jones2011-04-147-14/+187
| | | | | | | | | | This commit downloads the Packages RPM database allowing us to find other details about installed RPM packages (via inspect-list-applications). This adds version and release. Epoch cannot yet be found. This commit also updates the Fedora example image so that it contains a dummy RPM Packages database with some data.
* inspect: Abstract out db_dump code for listing RPM applications.Richard W.M. Jones2011-04-145-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.
* inspect: Split code into separate files.Richard W.M. Jones2011-04-1412-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
* inspect: Move shared PCRE match functions to separate file.Richard W.M. Jones2011-04-134-98/+129
| | | | This is just moving code around.
* inspect: Cache downloaded files in the handle g->tmpdir.Richard W.M. Jones2011-04-131-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.
* Remove temporary directory containing arbitrary files.Richard W.M. Jones2011-04-131-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.
* Include string.h and libintl.h, as needed.Jim Meyering2011-04-136-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.
* Add more missing include directives.Jim Meyering2011-04-133-3/+9
| | | | | | * cat/virt-cat.c: Include string.h and libintl.h. * cat/virt-filesystems.c: Likewise. * cat/virt-ls.c: Likewise.
* debian: Add dependency on libpcre-ocaml-dev.Nikita A Menkovich2011-04-131-1/+3
|
* Add missing include directives.Jim Meyering2011-04-133-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.
* Avoid warning about implicit declaration of strlen.Jim Meyering2011-04-131-0/+1
| | | | * src/events.c: Include <string.h>, for use of strlen.
* debian: libguestfs-test-tool-helper no longer exists.Richard W.M. Jones2011-04-121-1/+0
|
* resize: Include stamp file for manpage in CLEANFILES.Richard W.M. Jones2011-04-121-0/+2
|
* Version 1.11.0.1.11.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
|
* README: virtio-serial is required.Richard W.M. Jones2011-04-121-2/+2
|
* guestfs(3): Fix documentation for drive letters.Richard W.M. Jones2011-04-121-8/+7
| | | | We can now get drive letter mappings through the inspection API.
* inspect: Fix some small memory leaks in Windows inspection.Richard W.M. Jones2011-04-121-0/+3
| | | | Found using valgrind.
* fish: Allows win:... paths to work with drives mounted anywhere.Richard W.M. Jones2011-04-123-86/+106
| | | | | | This allows you to mount disks on (eg) /c and /e and have the guestfish win:... path mechanism map drive letters to the right places.
* todo: guestfish drive letters.Richard W.M. Jones2011-04-111-0/+10
|
* resize: Update dependencies.Richard W.M. Jones2011-04-101-6/+6
|
* resize: Don't build this directory in parallel.Richard W.M. Jones2011-04-101-0/+4
|
* resize: Consistent use of 'part' in help output.Richard W.M. Jones2011-04-101-4/+4
|
* resize: Missing \n after version.Richard W.M. Jones2011-04-101-1/+1
|
* resize: Link with local copy of guestfs.Richard W.M. Jones2011-04-091-2/+2
|
* Version 1.9.18.1.9.18Richard W.M. Jones2011-04-0916-3620/+1660
|
* Update POT file.Richard W.M. Jones2011-04-093-3499/+176
|
* Include po/Makefile.in.in in git, to avoid needing to rerun gettextize.Richard W.M. Jones2011-04-092-1/+444
|