Re: [PATCH 1/4] KVM: PPC: Book3s: PR: Disable preemption in vcpu_run

2011-12-13 Thread Scott Wood
On 12/09/2011 05:18 PM, Alexander Graf wrote: > > On 09.12.2011, at 19:19, Scott Wood wrote: > >> Shouldn't you really have interrupts disabled here, as booke does? > > Ah, thanks for the reminder. Yeah, we probably want to disable > interrupts in parallel to checking for signals (basically from

Re: [PATCH 1/4] KVM: PPC: Book3s: PR: Disable preemption in vcpu_run

2011-12-09 Thread Alexander Graf
On 09.12.2011, at 19:19, Scott Wood wrote: > On 12/09/2011 09:26 AM, Alexander Graf wrote: >> 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 So

Re: [PATCH 1/4] KVM: PPC: Book3s: PR: Disable preemption in vcpu_run

2011-12-09 Thread Scott Wood
On 12/09/2011 09:26 AM, Alexander Graf wrote: > 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 > Signed-off-by: Alexander Graf > --- > arch/pow

[PATCH 1/4] KVM: PPC: Book3s: PR: Disable preemption in vcpu_run

2011-12-09 Thread Alexander Graf
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 Signed-off-by: Alexander Graf --- arch/powerpc/kvm/book3s_pr.c |7 +++ 1 files changed, 7 insert