[LTP] [PATCH 1/7] KVM: Add VMSAVE/VMLOAD intercept constants
Petr Vorel
pvorel@suse.cz
Thu May 18 00:08:27 CEST 2023
Hi Martin,
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
> ---
> testcases/kernel/kvm/include/kvm_x86_svm.h | 5 +++++
> 1 file changed, 5 insertions(+)
> diff --git a/testcases/kernel/kvm/include/kvm_x86_svm.h b/testcases/kernel/kvm/include/kvm_x86_svm.h
> index 965d1e716..3eb832849 100644
> --- a/testcases/kernel/kvm/include/kvm_x86_svm.h
> +++ b/testcases/kernel/kvm/include/kvm_x86_svm.h
> @@ -37,10 +37,15 @@
> /* SVM event intercept IDs */
> #define SVM_INTERCEPT_HLT 0x78
> #define SVM_INTERCEPT_VMRUN 0x80
> +#define SVM_INTERCEPT_VMLOAD 0x82
> +#define SVM_INTERCEPT_VMSAVE 0x83
> #define SVM_INTERCEPT_MAX 0x95
> /* SVM vmrun exit codes */
> #define SVM_EXIT_HLT 0x78
> +#define SVM_EXIT_VMRUN 0x80
> +#define SVM_EXIT_VMLOAD 0x82
> +#define SVM_EXIT_VMSAVE 0x83
It looks like these three aren't used anywhere.
Kind regards,
Petr
> #define SVM_EXIT_AVIC_NOACCEL 0x402
> #define SVM_EXIT_INVALID ((uint64_t)-1)
More information about the ltp
mailing list