Expand Minimize

HV_PARTITION_PROPERTY_CODE enumeration

The HV_PARTITION_PROPERTY_CODE enumeration contains values that specify aspects of a partition.

Syntax


typedef enum  { 
  HvPartitionPropertyPrivilegeFlags          = 0x00010000,
  HvPartitionPropertyCpuReserve              = 0x00020001,
  HvPartitionPropertyCpuCap                  = 0x00020002,
  HvPartitionPropertyCpuWeight               = 0x00020003,
  HvPartitionPropertyEmulatedTimerPeriod     = 0x00030000,
  HvPartitionPropertyEmulatedTimerControl    = 0x00030001,
  HvPartitionPropertyPmTimerAssist           = 0x00030002,
  HvPartitionPropertyDebugChannelId          = 0x00040000,
  HvPartitionPropertyVirtualTlbPageCount     = 0x00050000,
  HvPartitionPropertyProcessorVendor         = 0x00060000,
  HvPartitionPropertyProcessorFeatures       = 0x00060001,
  HvPartitionPropertyProcessorXsaveFeatures  = 0x00060002,
  HvPartitionPropertyProcessorCLFlushSize    = 0x00060003
} HV_PARTITION_PROPERTY_CODE, *PHV_PARTITION_PROPERTY_CODE;

Constants

HvPartitionPropertyPrivilegeFlags

A privilege property that controls the hypervisor facilities that a child partition can access. For example, the parent partition can control which synthetic MSRs and hypercalls a child partition can access. The caller uses a HV_PARTITION_PRIVILEGE_MASK union with this property.

HvPartitionPropertyCpuReserve

A scheduling property that controls the amount of per virtual processor (VP) CPU time that is reserved for the child partition. The default value for this property is 0x0000000000000000.

HvPartitionPropertyCpuCap

A scheduling property that controls the maximum amount of per VP CPU time that the child partition can use. The default value for this property is 0x0000000000010000.

HvPartitionPropertyCpuWeight

A scheduling property that controls the relative weight for the virtual processors in the child partition. The default value for this property is 0x0000000000000064.

HvPartitionPropertyEmulatedTimerPeriod

A timer-assist property that controls the periodic timer assist period. The caller uses a HV_EMULATED_TIMER_PERIOD union with this property. The default value for this property is 0x0000000000000000.

HvPartitionPropertyEmulatedTimerControl

A timer-assist property that controls the periodic timer assist control. The caller uses a HV_EMULATED_TIMER_CONTROL union with this property. The default value for this property is 0x0000000000000000.

HvPartitionPropertyPmTimerAssist

A timer-assist property that controls the child partition's use of the ACPI PM timer. The caller uses a HV_PM_TIMER_INFO union with this property. The default value for this property is 0x0000000000000000.

HvPartitionPropertyDebugChannelId

A debugging property that controls the debug session channel identifier. The default value for this property is 0x0000000000000000.

HvPartitionPropertyVirtualTlbPageCount

A resource property that controls the number of pool pages that are devoted to the virtual translation lookaside buffer (TLB), which is determined by the hypervisor based on the partition and the configuration.

HvPartitionPropertyProcessorVendor

A compatibility property that checks the processor vendor. This property is read-only. The default value for this property is the vendor of the platform's processors. This property defines a value from the HV_PROCESSOR_VENDOR enumeration.

HvPartitionPropertyProcessorFeatures

A compatibility property that checks the bitmask that represents the supported processor features. These features are guest-accessible features that are supported and enabled by the platform. The default value for this property is the value for the root partition. This property is read-only for the root partition. This property defines a HV_PARTITION_PROCESSOR_FEATURES structure.

HvPartitionPropertyProcessorXsaveFeatures

A compatibility property that checks the bitmask that represents the supported processor XSAVE-related features. These features are guest-accessible XSAVE features that are supported and enabled by the platform. The default value for this property is the value for the root partition. This property is read-only for the root partition. This property defines a HV_PARTITION_PROCESSOR_XSAVE_FEATURES structure.

HvPartitionPropertyProcessorCLFlushSize

A compatibility property that checks the size of the processor cache line flush size. The default value for this property is the value for the root partition (the minimum cache line flush size of all processors on the platform). This property is read-only for the root partition.

Remarks

For more information about partition properties, see Partition Properties.

Requirements

Header

HvPtApi.h (include Hvgdk.h)

See also

HV_EMULATED_TIMER_CONTROL
HV_EMULATED_TIMER_PERIOD
HV_PARTITION_PRIVILEGE_MASK
HV_PARTITION_PROCESSOR_FEATURES
HV_PARTITION_PROCESSOR_XSAVE_FEATURES
HV_PM_TIMER_INFO
HV_PROCESSOR_VENDOR

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.