Re: [PATCH] KVM: VMX: Fix locking imbalance on emulation failure

2009-07-21 Thread Marcelo Tosatti
On Tue, Jul 21, 2009 at 10:43:07AM +0200, Jan Kiszka wrote: > We have to disable preemption and IRQs on every exit from > handle_invalid_guest_state, otherwise we generate at least a > preempt_disable imbalance. > > Signed-off-by: Jan Kiszka > --- > > arch/x86/kvm/vmx.c |2 +- > 1 files cha

[PATCH] KVM: VMX: Fix locking imbalance on emulation failure

2009-07-21 Thread Jan Kiszka
We have to disable preemption and IRQs on every exit from handle_invalid_guest_state, otherwise we generate at least a preempt_disable imbalance. Signed-off-by: Jan Kiszka --- arch/x86/kvm/vmx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/