commit | 29415c37f043d1d54dcf356601d738ff6633b72b | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Fri Aug 01 20:09:13 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Wed Oct 15 10:15:19 2008 +0200 |
tree | 43958b606712801806e0ff8e3da5426b9c66feaf | |
parent | 8349b5cd816adf102c078553ec8ca63b3beb457c [diff] |
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 <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>