KVM: svm: set/clear all DR intercepts in one swoop
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Mar 2014 12:08:29 +0000 (13:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Mar 2014 09:46:04 +0000 (10:46 +0100)
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: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c

Simple merge