Intercept Data Types

The hypervisor defines the following data types to control intercepts.

Intercept Types

A partition uses a value from the HV_INTERCEPT_TYPE enumeration in a call to the HvInstallIntercept function to specify an intercept type.

Intercept Parameters

A partition uses the HV_INTERCEPT_PARAMETERS union and HV_INTERCEPT_DESCRIPTOR structure in a call to the HvInstallIntercept function to describe information about an installed intercept.

Intercept Access Types

A partition specifies a valid bitwise OR combination of the following HV_INTERCEPT_ACCESS_TYPE_MASK values in the AccessType parameter in a call to the HvInstallIntercept function to indicate the access types that the hypervisor should intercept.


typedef UINT8 HV_INTERCEPT_ACCESS_TYPE_MASK;

#define HV_INTERCEPT_ACCESS_MASK_NONE     0
#define HV_INTERCEPT_ACCESS_MASK_READ     1
#define HV_INTERCEPT_ACCESS_MASK_WRITE    2
#define HV_INTERCEPT_ACCESS_MASK_EXECUTE  4

Unsupported Feature Codes

The hypervisor uses the FeatureCode field of an intercept message to report that a partition tried to access an unsupported feature. The hypervisor inserts one of the values from the HV_X64_UNSUPPORTED_FEATURE_CODE in the FeatureCode field. For more information about the FeatureCode field, see Unsupported Feature Message.

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.