xen/include/asm-x86/hvm/svm/vmcb.h: Correction in comments.
PATCH 1/1 xen/include/asm-x86/hvm/svm/vmcb.h: Correction in comments.
The VMEXIT codes listed from EXCEPTION_PF to EXCEPTION_XF had comments describe the exitcodes slightly shifted than the expected value. The expected exitcode value for page-fault is 78 which should be 0x4E and so on till exception XF.
Signed-off-by Dushyant Behl <[email protected]>
--- xen/include/asm-x86/hvm/svm/vmcb.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
xen/include/asm-x86/hvm/svm/vmcb.h +6 -6
@@ -244,12 +244,12 @@ enum VMEXIT_EXITCODEVMEXIT_EXCEPTION_NP =75 ,/* 0x4b, segment-not-present */ VMEXIT_EXCEPTION_SS =76 ,/* 0x4c, stack */ VMEXIT_EXCEPTION_GP =77 ,/* 0x4d, general-protection */ -VMEXIT_EXCEPTION_PF =78 ,/* 0x4f, page-fault */ -VMEXIT_EXCEPTION_15 =79 ,/* 0x50, reserved */ -VMEXIT_EXCEPTION_MF =80 ,/* 0x51, x87 floating-point exception-pending */ -VMEXIT_EXCEPTION_AC =81 ,/* 0x52, alignment-check */ -VMEXIT_EXCEPTION_MC =82 ,/* 0x53, machine-check */ -VMEXIT_EXCEPTION_XF =83 ,/* 0x54, simd floating-point */ +VMEXIT_EXCEPTION_PF =78 ,/* 0x4e, page-fault */ +VMEXIT_EXCEPTION_15 =79 ,/* 0x4f, reserved */ +VMEXIT_EXCEPTION_MF =80 ,/* 0x50, x87 floating-point exception-pending */ +VMEXIT_EXCEPTION_AC =81 ,/* 0x51, alignment-check */ +VMEXIT_EXCEPTION_MC =82 ,/* 0x52, machine-check */ +VMEXIT_EXCEPTION_XF =83 ,/* 0x53, simd floating-point */ /* exceptions 20-31 (exitcodes 84-95) are reserved */
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 6 lines · Dushyant Behl
The VMEXIT codes listed from
EXCEPTION_PFtoEXCEPTION_XFhad comments describe the exitcodes slightly shifted than the expected value. The expected exitcode value for page-fault is 78 which should be0x4Eand so on till exception XF.Signed-off-by Dushyant Behl <[email protected]>
Reviewed-by Boris Ostrovsky <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel