Virtual Processor Exception
Syntax
//
// Context data for an exit caused by an exception generated by the virtual processor
// (WHvRunVpExitReasonException)
//
typedef union WHV_VP_EXCEPTION_INFO
{
struct
{
UINT32 ErrorCodeValid : 1;
UINT32 SoftwareException : 1;
UINT32 Reserved : 30;
};
UINT32 AsUINT32;
} WHV_VP_EXCEPTION_INFO;
typedef struct WHV_VP_EXCEPTION_CONTEXT
{
UINT8 InstructionByteCount;
UINT8 Reserved[3];
UINT8 InstructionBytes[16];
// Exception info
WHV_VP_EXCEPTION_INFO ExceptionInfo;
UINT8 ExceptionType; // WHV_EXCEPTION_TYPE
UINT8 Reserved2[3];
UINT32 ErrorCode;
UINT64 ExceptionParameter;
} WHV_VP_EXCEPTION_CONTEXT;
Return Value
Information about an exception generated by the virtual processor is provided in the WHV_VP_EXCEPTION_CONTEXT
structure.
Exits for exceptions are only generated if they are enabled by setting the WHV_EXTENDED_VM_EXITS.ExceptionExit
property for the partition.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기