summaryrefslogtreecommitdiff
path: root/tools/arch/x86/include/uapi/asm/svm.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/x86/include/uapi/asm/svm.h')
-rw-r--r--tools/arch/x86/include/uapi/asm/svm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/arch/x86/include/uapi/asm/svm.h b/tools/arch/x86/include/uapi/asm/svm.h
index 554f75fe013c..efa969325ede 100644
--- a/tools/arch/x86/include/uapi/asm/svm.h
+++ b/tools/arch/x86/include/uapi/asm/svm.h
@@ -110,6 +110,9 @@
#define SVM_VMGEXIT_GET_AP_JUMP_TABLE 1
#define SVM_VMGEXIT_UNSUPPORTED_EVENT 0x8000ffff
+/* Exit code reserved for hypervisor/software use */
+#define SVM_EXIT_SW 0xf0000000
+
#define SVM_EXIT_ERR -1
#define SVM_EXIT_REASONS \