[Libguestfs] [PATCH] Increase HIVEX_MAX_VALUES

Matt Coleman mcoleman at datto.com
Fri Aug 14 00:55:14 UTC 2020


Hello,

As we discussed briefly on IRC about a month ago, HKLM\SYSTEM\MountedDevices can contain greater than 55000 (HIVEX_MAX_VALUES) values if VMWare’s snapshot functionality is frequently used. This is due to an unintended interaction between Windows and VMWare’s snapshot functionality.

VMware has a knowledge base article regarding this issue, although it does not directly mention MountedDevices: https://kb.vmware.com/s/article/2006849

The attached patch increases HIVEX_MAX_VALUES in order to enable access to those hives with hivex.

-- 
Matt Coleman
Senior Software Engineer
Datto, Inc.
www.datto.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Increase-HIVEX_MAX_VALUES.patch
Type: application/octet-stream
Size: 952 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20200813/1d03c6b5/attachment.obj>


More information about the Libguestfs mailing list