From: Avi Kivity Date: Tue, 1 Sep 2009 13:06:25 +0000 (+0300) Subject: KVM: VMX: Conditionally reload debug register 6 X-Git-Tag: v2.6.32-rc1~693^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a48342e9bc1c65ffe4bb3b3ac964e726dbd4c0;p=pandora-kernel.git KVM: VMX: Conditionally reload debug register 6 Only reload debug register 6 if we're running with the guest's debug registers. Saves around 150 cycles from the guest lightweight exit path. dr6 contains a couple of bits that are updated on #DB, so intercept that unconditionally and update those bits then. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed