Expand Minimize

HV_INTERCEPT_TYPE enumeration

The HV_INTERCEPT_TYPE enumeration contains values that identify platform-specific intercept types.

Syntax


typedef enum _HV_INTERCEPT_TYPE { 
  HvInterceptTypeX64IoPort     = 0x00000000,
  HvInterceptTypeX64Msr        = 0x00000001,
  HvInterceptTypeX64Cpuid      = 0x00000002,
  HvInterceptTypeX64Exception  = 0x00000003
} HV_INTERCEPT_TYPE, *PHV_INTERCEPT_TYPE;

Constants

HvInterceptTypeX64IoPort

Access to an I/O port can be intercepted on x64 platforms. This intercept type applies to a specific I/O port. The I/O port is specified with each hypercall. Read and write intercept access flags must be specified to install an intercept of this type.

HvInterceptTypeX64Msr

Accesses to MSRs can be intercepted on x64 platforms. This intercept type applies to all MSRs that the hypervisor does not virtualize. Note that certain privileges affect MSR virtualization. No MSR value is specified with a hypercall. Read and write intercept access flags must be specified to install an intercept of this type.

HvInterceptTypeX64Cpuid

Execution of the CPUID instruction can be intercepted on x64 platforms. This intercept type applies to a specific CPUID leaf. The CPUID leaf is specified with each hypercall. The execute intercept access flag must be specified to install an intercept of this type.

HvInterceptTypeX64Exception

An exception can be intercepted on x64 platforms. This intercept type applies to a specific exception vector. The exception vector is specified with each hypercall. The execute intercept access flag must be specified to install an intercept of this type.

Remarks

The HV_INTERCEPT_TYPE enumeration is used in the HV_INTERCEPT_DESCRIPTOR structure.

Requirements

Header

HvValApi.h (include Hvgdk.h)

See also

HV_INTERCEPT_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.