[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Problem inspecting Windows images with large registry hives




Encountered the following problem and would like to know if this is a known issue, whether there's a fix, or workaround:

Using libguestfs and the python bindings to inspect VMs.   Fairly successfully for the most part, but had one Windows image today that fails in the following manner.

  File "/usr/lib/python2.7/site-packages/guestfs.py", line 910, in inspect_os
    r = libguestfsmod.inspect_os (self._o)
RuntimeError: size of /Windows/System32/config/SOFTWARE is unreasonably large (141819904 bytes)

Reproduced it with guestfish:

[root cagedbird images]# guestfish --ro -i -a windows-2008-r2-base+updates-20120518.img 
libguestfs: error: size of /Windows/System32/config/SOFTWARE is unreasonably large (141819904 bytes)
[root cagedbird images]# guestfish --version
guestfish 1.18.12fedora=17,release=3.fc17


Unfortunately, because of this bounds check, preliminary inspection fails.   Bug, or as designed?

Thanks, 
   Todd



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]