Skip to content
Commit 5315c716 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: svm: set/clear all DR intercepts in one swoop



Unlike other intercepts, debug register intercepts will be modified
in hot paths if the guest OS is bad or otherwise gets tricked into
doing so.

Avoid calling recalc_intercepts 16 times for debug registers.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d16c293e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment