Skip to contentSkip to conversation

xen/include/asm-x86/hvm/svm/vmcb.h: Correction in comments.

PATCH In review Dushyant Behl 2 participants 2 messages Jun 14, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 6bbab1e..30a228b 100644
@@ -244,12 +244,12 @@ enum VMEXIT_EXITCODE
     VMEXIT_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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Dushyant Behl

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.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel