From: Nadav Amit Date: Tue, 30 Sep 2014 17:49:14 +0000 (+0300) Subject: KVM: x86: DR7.GD should be cleared upon any #DB exception X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bdf06625d240361e92254143a123ab432e337f8;p=pandora-kernel.git KVM: x86: DR7.GD should be cleared upon any #DB exception Intel SDM 17.2.4 (Debug Control Register (DR7)) says: "The processor clears the GD flag upon entering to the debug exception handler." This sentence may be misunderstood as if it happens only on #DB due to debug-register protection, but it happens regardless to the cause of the #DB. Fix the behavior to match both real hardware and Bochs. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed