KVM: PPC: Book3s: PR: Disable preemption in vcpu_run
authorAlexander Graf <agraf@suse.de>
Fri, 9 Dec 2011 14:46:21 +0000 (15:46 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:27 +0000 (14:52 +0200)
When entering the guest, we want to make sure we're not getting preempted
away, so let's disable preemption on entry, but enable it again while handling
guest exits.

Reported-by: Jörg Sommer <joerg@alea.gnuu.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found