aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2023-06-15 16:37:53 +1000
committerSean Christopherson <[email protected]>2023-07-28 16:12:06 -0700
commitc2690b5f01948dfec19d50086312848c0b5b02b0 (patch)
treebdf89683338642a7bac6ccfc9d095aeb38161f45 /lib/memory-notifier-error-inject.c
parent2837dd00f8fc69111cd6b1dc8481d2fb490d11c9 (diff)
KVM: SVM/SEV/SEV-ES: Rework intercepts
Currently SVM setup is done sequentially in init_vmcb() -> sev_init_vmcb() -> sev_es_init_vmcb() and tries keeping SVM/SEV/SEV-ES bits separated. One of the exceptions is DR intercepts which is for SEV-ES before sev_es_init_vmcb() runs. Move the SEV-ES intercept setup to sev_es_init_vmcb(). From now on set_dr_intercepts()/clr_dr_intercepts() handle SVM/SEV only. No functional change intended. Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Alexey Kardashevskiy <[email protected]> Reviewed-by: Santosh Shukla <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: drop comment about intercepting DR7] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions