diff options
author | 2022-08-30 23:15:53 +0000 | |
---|---|---|
committer | 2022-09-26 12:03:05 -0400 | |
commit | 8d178f460772ecdee8e6d72389b43a8d35a14ff5 (patch) | |
tree | d91e30637e7e2ad0241f08a50cf4ca3e97fcaa13 /rust/kernel | |
parent | KVM: x86: Suppress code #DBs on Intel if MOV/POP SS blocking is active (diff) | |
download | linux-dev-8d178f460772ecdee8e6d72389b43a8d35a14ff5.tar.xz linux-dev-8d178f460772ecdee8e6d72389b43a8d35a14ff5.zip |
KVM: nVMX: Treat General Detect #DB (DR7.GD=1) as fault-like
Exclude General Detect #DBs, which have fault-like behavior but also have
a non-zero payload (DR6.BD=1), from nVMX's handling of pending debug
traps. Opportunistically rewrite the comment to better document what is
being checked, i.e. "has a non-zero payload" vs. "has a payload", and to
call out the many caveats surrounding #DBs that KVM dodges one way or
another.
Cc: Oliver Upton <oupton@google.com>
Cc: Peter Shier <pshier@google.com>
Fixes: 684c0422da71 ("KVM: nVMX: Handle pending #DB when injecting INIT VM-exit")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20220830231614.3580124-7-seanjc@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions