diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2008-08-01 20:09:13 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 10:15:19 +0200 |
commit | 29415c37f043d1d54dcf356601d738ff6633b72b (patch) | |
tree | 43958b606712801806e0ff8e3da5426b9c66feaf /arch/x86/kvm/vmx.c | |
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>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions