Expand Minimize

HV_STATS_OBJECT_IDENTITY union

The HV_STATS_OBJECT_IDENTITY union identifies a status object.

Syntax


typedef union _HV_STATS_OBJECT_IDENTITY {
  struct {
    UINT64 ReservedZ0;
    UINT32 ReservedZ1;
    UINT16 ReservedZ2;
    UINT8  ReservedZ3;
    UINT8  ReservedZ4;
  } Hypervisor;
  struct {
    HV_LOGICAL_PROCESSOR_INDEX LogicalProcessorIndex;
    UINT32                     ReservedZ0;
    UINT32                     ReservedZ1;
    UINT16                     ReservedZ2;
    UINT8                      ReservedZ3;
    UINT8                      ReservedZ4;
  } LogicalProcessor;
  struct {
    HV_PARTITION_ID      PartitionId;
    UINT32               ReservedZ1;
    HV_STATS_OBJECT_FLAG Flags;
    UINT8                ReservedZ3;
    UINT8                ReservedZ4;
  } Partition;
  struct {
    HV_PARTITION_ID      PartitionId;
    HV_VP_INDEX          VpIndex;
    HV_STATS_OBJECT_FLAG Flags;
    UINT8                ReservedZ3;
    UINT8                ReservedZ4;
  } Vp;
} HV_STATS_OBJECT_IDENTITY, *PHV_STATS_OBJECT_IDENTITY;

Members

Hypervisor

A structure that describes the status-object information if the status type is set to HvStatsObjectHypervisor. This structure contains the following member:

ReservedZ0

A 64-bit value that is reserved and should be set to zero.

ReservedZ1

A 32-bit value that is reserved and should be set to zero.

ReservedZ2

A 16-bit value that is reserved and should be set to zero.

ReservedZ3

An 8-bit value that is reserved and should be set to zero.

ReservedZ4

An 8-bit value that is reserved and should be set to zero.

LogicalProcessor

A structure that describes the status-object information if the status type is set to HvStatsObjectLogicalProcessor. This structure contains the following members:

LogicalProcessorIndex

An HV_LOGICAL_PROCESSOR_INDEX value that specifies the index of the logical processor. HV_LOGICAL_PROCESSOR_INDEX is defined as an unsigned 32-bit (UINT32) value.

ReservedZ0

A 32-bit value that is reserved and should be set to zero.

ReservedZ1

A 32-bit value that is reserved and should be set to zero.

ReservedZ2

A 16-bit value that is reserved and should be set to zero.

ReservedZ3

An 8-bit value that is reserved and should be set to zero.

ReservedZ4

An 8-bit value that is reserved and should be set to zero.

Partition

A structure that describes the status-object information if the status type is set to HvStatsObjectPartition. This structure contains the following members:

PartitionId

An HV_PARTITION_ID value that identifies the partition. HV_PARTITION_ID is defined as an unsigned 64-bit (UINT64) value.

ReservedZ1

A 32-bit value that is reserved and should be set to zero.

Flags

A bitwise OR combination of HV_STATS_OBJECT_FLAG values that specify a statistics object. Currently, only HvStatsObjectSelfStats is defined.

ReservedZ3

An 8-bit value that is reserved and should be set to zero.

ReservedZ4

An 8-bit value that is reserved and should be set to zero.

Vp

A structure that describes the status-object information if the status type is set to HvStatsObjectVp. This structure contains the following members:

PartitionId

An HV_PARTITION_ID value that identifies the partition. HV_PARTITION_ID is defined as an unsigned 64-bit (UINT64) value.

VpIndex

An HV_VP_INDEX value that specifies the index of the virtual processor. HV_VP_INDEX is defined as an unsigned 32-bit (UINT32) value.

Flags

A bitwise OR combination of HV_STATS_OBJECT_FLAG values that specify a statistics object. Currently, only HvStatsObjectSelfStats is defined.

ReservedZ3

An 8-bit value that is reserved and should be set to zero.

ReservedZ4

An 8-bit value that is reserved and should be set to zero.

Remarks

A client specifies status-object information in an HV_STATS_OBJECT_IDENTITY union. The client then passes an HV_STATS_OBJECT_IDENTITY in a call to the HvMapStatsPage function to map a statistics page into the client's guest physical address (GPA) space.

Requirements

Header

HvHcApi.h (include Hvgdk.h)

See also

HvMapStatsPage

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.