KVM: Don't wrap schedule() with vcpu_put()/vcpu_load()
authorAvi Kivity <avi@redhat.com>
Sun, 23 Aug 2009 14:46:21 +0000 (17:46 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:05 +0000 (09:32 +0200)
commit45ec431c52f89218ac01d87663e54de30458edf0
tree53ad658dad412709cdb0aba3d84b5af2ab47e17d
parent58988b07cfe2ebe9f9b39d973fd8a083390e749f
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>
virt/kvm/kvm_main.c