<br><div>Encountered the following problem and would like to know if this is a known issue, whether there's a fix, or workaround:</div><div><br></div><div>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.<br>

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

</div><div><br></div><div>Reproduced it with guestfish:</div><div><br></div><div><div>[root@cagedbird images]# guestfish --ro -i -a windows-2008-r2-base+updates-20120518.img </div><div>libguestfs: error: size of /Windows/System32/config/SOFTWARE is unreasonably large (141819904 bytes)</div>

<div>[root@cagedbird images]# guestfish --version</div><div>guestfish 1.18.12fedora=17,release=3.fc17</div></div><div><br></div><div><br></div><div>Unfortunately, because of this bounds check, preliminary inspection fails.   Bug, or as designed?</div>

<div><br></div><div>Thanks, </div><div>   Todd</div><div><br></div><div><br></div>