Expand Minimize

HV_ST_MAP_LOCATION union

The HV_ST_MAP_LOCATION union describes the statistics map and unmap MSR value.

Syntax


typedef union _HV_ST_MAP_LOCATION {
  UINT64 AsUINT64;
  struct {
    UINT64 MapEnabled  :1;
    UINT64 ReservedP  :11;
    UINT64 BaseMapGpaPageNumber  :52;
  };
} HV_ST_MAP_LOCATION, *PHV_ST_MAP_LOCATION;

Members

AsUINT64

A member in the union that can hold one 64-bit value that describes information about the MSR.

MapEnabled

A UINT64 value that indicates whether the statistics page is enabled. If this bit is set to 1, the statistics page is enabled. Setting this member is equivalent to setting the first bit (bit 0) of the 64-bit AsUINT64 member (0x0000000000000001).

ReservedP

This member is reserved. Guest operating systems should preserve the value of the reserved bits (1 through 11) for future compatibility. This member is equivalent to the second through twelfth bits (0x0000000000000FFE) of the 64-bit AsUINT64 member.

BaseMapGpaPageNumber

The base address (in GPA space) of the statistics page to be mapped.

Setting the base address in this member is equivalent to setting the base address in bits 12 through 63 (0xFFFFFFFFFFFFF000) of the 64-bit AsUINT64 member.

Remarks

For more information about mapping statistics pages, see Statistics Page Mapping MSRs.

Requirements

Header

Hvgdk.h (include Hvgdk.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.