Expand Minimize

HV_MESSAGE_TYPE enumeration

The HV_MESSAGE_TYPE enumeration contains values that identify a type of message.

Syntax


typedef enum _HV_MESSAGE_TYPE { 
  HvMessageTypeNone                    = 0x00000000,
  HvMessageTypeUnmappedGpa             = 0x80000000,
  HvMessageTypeGpaIntercept            = 0x80000001,
  HvMessageTimerExpired                = 0x80000010,
  HvMessageTypeInvalidVpRegisterValue  = 0x80000020,
  HvMessageTypeUnrecoverableException  = 0x80000021,
  HvMessageTypeUnsupportedFeature      = 0x80000022,
  HvMessageTypeEventLogBufferComplete  = 0x80000040,
  HvMessageTypeX64IoPortIntercept      = 0x80010000,
  HvMessageTypeX64MsrIntercept         = 0x80010001,
  HvMessageTypeX64CpuidIntercept       = 0x80010002,
  HvMessageTypeX64ExceptionIntercept   = 0x80010003,
  HvMessageTypeX64ApicEoi              = 0x80010004,
  HvMessageTypeX64LegacyFpError        = 0x80010005
} HV_MESSAGE_TYPE, *PHV_MESSAGE_TYPE;

Constants

HvMessageTypeNone

An array element (also known as a message slot) of a SIM page that corresponds to a single synthetic interrupt source (SINTx) is empty.

HvMessageTypeUnmappedGpa
HvMessageTypeGpaIntercept
HvMessageTimerExpired
HvMessageTypeInvalidVpRegisterValue

A virtual processor is suspended, and an intercept message of this type is sent to the virtual processor's parent partition.

HvMessageTypeUnrecoverableException
HvMessageTypeUnsupportedFeature
HvMessageTypeEventLogBufferComplete
HvMessageTypeX64IoPortIntercept
HvMessageTypeX64MsrIntercept
HvMessageTypeX64CpuidIntercept
HvMessageTypeX64ExceptionIntercept
HvMessageTypeX64ApicEoi
HvMessageTypeX64LegacyFpError

Remarks

Any message type that has the high bit set is reserved for use by the hypervisor. Guest-initiated messages cannot be sent with a hypervisor message type.

The HV_MESSAGE_TYPE enumeration is used in the HV_MESSAGE_HEADER structure and passed to the HvPostMessage function.

Requirements

Header

HvSynicApi.h (include Hvgdk.h)

See also

HV_MESSAGE_HEADER
HvPostMessage

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.