Statistics Page Mapping MSRs

A guest operating system that must access its own local statistics pages must use the model-specific registers (MSR) in the following table.

MSR addressRegister nameFunction

0x400000E0

HV_X64_MSR_STATS_PARTITION_RETAIL_PAGE

Map the guest's local partition-related retail statistics page.

0x400000E1

HV_X64_MSR_STATS_PARTITION_INTERNAL_PAGE

Map the guest's local partition-related internal statistics page.

0x400000E2

HV_X64_MSR_STATS_VP_RETAIL_PAGE

Map the guest's local virtual processor-related retail statistics page.

0x400000E3

HV_X64_MSR_STATS_VP_INTERNAL_PAGE

Map the guest's local virtual processor-related internal statistics page.

 

Each of the MSRs in the preceding table has the following format:

63:1211:10

Statistics Page Base Address

RsvdP

Enable

 

BitsDescriptionAttributes

63:12

Base address (in GPA space) of statistics page to be mapped

(low 12 bits are zero)

Read/write

11:1

RsvdP (value should be preserved)

Read/write

0

Statistics page enable

Read/write

 

When the virtual processor is created and when the processor is reset, the value of each of the statistics page registers is 0x0000000000000000. Therefore, the pages are disabled by default. The guest must enable the chosen page by setting bit 0. If the specified base address is beyond the end of the partition's GPA space, the statistics page will not be accessible to the guest. When guests modify the registers, the guests should preserve the value of the reserved bits (1 through 11) for future compatibility. A statistics page register is encoded with a HV_ST_MAP_LOCATION union.

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.