aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-08-30 23:16:06 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-26 12:03:10 -0400
commit2b384165f4d15540f94998b751f50058642ad110 (patch)
treebea78bacbd9cef4e10f97feb5e75aef8441ee82d /arch/x86/kvm/svm/nested.c
parent28360f88706837fc3f1ac8944b45b4a630a71c75 (diff)
downloadlinux-2b384165f4d15540f94998b751f50058642ad110.tar.gz
linux-2b384165f4d15540f94998b751f50058642ad110.tar.bz2
linux-2b384165f4d15540f94998b751f50058642ad110.zip
KVM: nVMX: Add a helper to identify low-priority #DB traps
Add a helper to identify "low"-priority #DB traps, i.e. trap-like #DBs that aren't TSS T flag #DBs, and tweak the related code to operate on any queued exception. A future commit will separate exceptions that are intercepted by L1, i.e. cause nested VM-Exit, from those that do NOT trigger nested VM-Exit. I.e. there will be multiple exception structs and multiple invocations of the helpers. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20220830231614.3580124-20-seanjc@google.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions