:py:mod:`dissect.hypervisor.disk.vhdx` ====================================== .. py:module:: dissect.hypervisor.disk.vhdx Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.hypervisor.disk.vhdx.VHDX dissect.hypervisor.disk.vhdx.RegionTable dissect.hypervisor.disk.vhdx.BlockAllocationTable dissect.hypervisor.disk.vhdx.ParentLocator dissect.hypervisor.disk.vhdx.MetadataTable Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.hypervisor.disk.vhdx.open_parent Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.hypervisor.disk.vhdx.log .. py:data:: log .. py:class:: VHDX(fh) Bases: :py:obj:`dissect.util.stream.AlignedStream` Hyper-V VHDX implementation. Supports fixed, dynamic and differencing VHDX files. Currently, differencing VHDX files must be passed as a pathlib.Path object, with the parent VHDX in the same directory, or the registered absolute directory. .. py:method:: read_sectors(sector, count) .. py:class:: RegionTable(fh, offset) .. py:method:: get(guid, required=True) .. py:class:: BlockAllocationTable(vhdx, offset) .. py:method:: get(entry) Get a BAT entry. .. py:method:: pb(block) Get a payload block entry for a given block. .. py:method:: sb(block) Get a sector bitmap entry for a given block. .. py:class:: ParentLocator(fh) .. py:class:: MetadataTable(fh, offset, length) .. py:attribute:: METADATA_MAP .. py:method:: get(guid, required=True) .. py:function:: open_parent(path, locator)