[Libguestfs] [PATCH 0/4] Add hivex APIs into the libguestfs API (RHBZ#852394)

Richard W.M. Jones rjones at redhat.com
Wed Aug 29 15:15:31 UTC 2012


This adds most of the hivex APIs directly to the libguestfs API, so
that you can read and write Windows Registry hive files from
libguestfs without needing to download and upload hive files from the
guest.

This is analogous to how Augeas APIs are exposed already
(guestfs_aug_*)

Also, inspection is now done using the new APIs, which fixes the
following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=852394
"libguestfs inspection limits registries to 100 MiB"

I tested this by:

(a) Running virt-inspector before and after over a set of test Windows
guests.  There was no difference in the output.

(b) Running 'make check' and 'make extra-tests'.  These tests are
still running.  If they succeed (particularly extra-tests which uses
valgrind) then that should give us high confidence there are no memory
errors.

Rich.





More information about the Libguestfs mailing list