diff options
author | Lara Lazier <laramglazier@gmail.com> | 2021-08-09 16:26:28 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-13 13:56:26 +0200 |
commit | 52fb8ad37aab791640174048b3d90ce9a576af63 (patch) | |
tree | a88ba22409b9373aa111f98eb900dc1748209d55 /target/i386/svm.h | |
parent | 7760bb069f11fb4259c76c05c69a0d254b5d8a10 (diff) |
target/i386: Added vVMLOAD and vVMSAVE feature
The feature allows the VMSAVE and VMLOAD instructions to execute in guest mode without
causing a VMEXIT. (APM2 15.33.1)
Signed-off-by: Lara Lazier <laramglazier@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/svm.h')
-rw-r--r-- | target/i386/svm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/i386/svm.h b/target/i386/svm.h index 036597a2ff..f9a785489d 100644 --- a/target/i386/svm.h +++ b/target/i386/svm.h @@ -24,6 +24,8 @@ #define V_INTR_MASKING_SHIFT 24 #define V_INTR_MASKING_MASK (1 << V_INTR_MASKING_SHIFT) +#define V_VMLOAD_VMSAVE_ENABLED_MASK (1 << 1) + #define SVM_INTERRUPT_SHADOW_MASK 1 #define SVM_IOIO_STR_SHIFT 2 |