From: Jan Kiszka Date: Sat, 4 Jan 2014 17:47:17 +0000 (+0100) Subject: KVM: VMX: Fix DR6 update on #DB exception X-Git-Tag: v3.14-rc1~127^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8246bf52c75aa9b9b336a84f31ed2248754d0f71;p=pandora-kernel.git KVM: VMX: Fix DR6 update on #DB exception According to the SDM, only bits 0-3 of DR6 "may" be cleared by "certain" debug exception. So do update them on #DB exception in KVM, but leave the rest alone, only setting BD and BS in addition to already set bits in DR6. This also aligns us with kvm_vcpu_check_singlestep. Signed-off-by: Jan Kiszka Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed