Debugging Data Types

The hypervisor's debugging hypercall functions exchange blocks of data between the guest and an external port during a debug session. The size of the blocks is not fixed but cannot exceed a maximum size. These hypercall functions also accept options. The hypervisor defines the following constants for a debug session, the debug block's maximum size, and debug options:

Debug channel identifier


typedef UINT16 HV_DEBUG_CHANNEL_IDENTIFIER;

Maximum size of the payload


#define HV_DEBUG_MAXIMUM_DATA_SIZE 4088

Debug option type


typedef UINT32 HV_DEBUG_OPTIONS;

Debug option flags for post


#define HV_DEBUG_POST_LOOP  0x00000001

Debug option flags for retrieve


#define HV_DEBUG_RETRIEVE_LOOP  0x00000001
#define HV_DEBUG_RETRIEVE_TEST_ACTIVITY  0x00000002

Debug option flags for resetting the session


#define HV_DEBUG_PURGE_INCOMING_DATA  0x00000001
HV_DEBUG_PURGE_OUTGOING_DATA  0x00000002

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.