HypervisorPartition

final class ntoseye.HypervisorPartition

A partition of the Windows hypervisor, as it was when listed.

property address: int

The address of the hypervisor’s partition object.

property id: int

The partition ID (the root partition’s is 1).

property parent_id: int | None

The parent partition’s ID, or None for the root partition.

property privilege_names: list[str]

The TLFS names of the privileges in privileges (["AccessVpRunTimeReg", ..., "CreatePartitions", ...]). Set bits that the TLFS lists as reserved have no name and are left out.

property privileges: int

The partition’s privileges, as the TLFS HV_PARTITION_PRIVILEGE_MASK.

to_dict() → dict[str, Any]

Return the partition as a plain dict (address, id, parent_id, privileges, privilege_names, and virtual_processors, a list of their dicts).

property virtual_processors: list[VirtualProcessor]

The partition’s virtual processors, by index.