From: Marcelo Tosatti Date: Fri, 1 Aug 2008 23:09:13 +0000 (-0300) Subject: KVM: set debug registers after "schedulable" section X-Git-Tag: v2.6.28-rc1~269^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29415c37f043d1d54dcf356601d738ff6633b72b;p=pandora-kernel.git KVM: set debug registers after "schedulable" section 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 --- Reading git-diff-tree failed