On 20/09/19 23:25, Andrea Arcangeli wrote:
> +#ifdef CONFIG_RETPOLINE
> +     if (exit_code == SVM_EXIT_MSR)
> +             return msr_interception(svm);
> +     else if (exit_code == SVM_EXIT_VINTR)
> +             return interrupt_window_interception(svm);
> +     else if (exit_code == SVM_EXIT_INTR)
> +             return intr_interception(svm);
> +     else if (exit_code == SVM_EXIT_HLT)
> +             return halt_interception(svm);
> +     else if (exit_code == SVM_EXIT_NPF)
> +             return npf_interception(svm);
> +     else if (exit_code == SVM_EXIT_CPUID)
> +             return cpuid_interception(svm);
> +#endif

Same here; msr_interception and npf_interception are the main ones we
care about, plus io_interception which isn't listed probably because it
depends on the virtual hardware.

Paolo

Reply via email to