commit | 45ec431c52f89218ac01d87663e54de30458edf0 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Aug 23 17:46:21 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:05 2009 +0200 |
tree | 53ad658dad412709cdb0aba3d84b5af2ab47e17d | |
parent | 58988b07cfe2ebe9f9b39d973fd8a083390e749f [diff] |
KVM: Don't wrap schedule() with vcpu_put()/vcpu_load() Preemption notifiers will do that for us automatically. Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 7495ce3..22b520b 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c
@@ -1689,9 +1689,7 @@ if (signal_pending(current)) break; - vcpu_put(vcpu); schedule(); - vcpu_load(vcpu); } finish_wait(&vcpu->wq, &wait);