From: Marcelo Tosatti Date: Thu, 6 Aug 2009 17:39:54 +0000 (-0300) Subject: KVM: set debug registers after "schedulable" section X-Git-Tag: v2.6.27.32~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12daed95faec51a60736776a35ce4b0d1541c346;p=pandora-kernel.git KVM: set debug registers after "schedulable" section (cherry picked from commit 29415c37f043d1d54dcf356601d738ff6633b72b) The vcpu thread can be preempted after the guest_debug_pre() callback, resulting in invalid debug registers on the new vcpu. Move it inside the non-preemptable section. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed