Re: [PATCH] don't enter guest after SIPI was received by a CPU

2008-09-23 Thread Avi Kivity
Gleb Natapov wrote: Don't enter guest after SIPI was issued. CPU should process SIPI message before entering a guest mode again. kvm_arch_vcpu_runnable() return true if CPU is in SIPI state, so we can't call it here. Applied, thanks. -- error compiling committee.c: too many arguments to f

Re: [PATCH] don't enter guest after SIPI was received by a CPU

2008-09-22 Thread Marcelo Tosatti
Looks good. Thanks Gleb. On Mon, Sep 22, 2008 at 02:28:53PM +0300, Gleb Natapov wrote: > Don't enter guest after SIPI was issued. > > CPU should process SIPI message before entering a guest mode again. > kvm_arch_vcpu_runnable() return true if CPU is in SIPI state, so > we can't call it here. >

[PATCH] don't enter guest after SIPI was received by a CPU

2008-09-22 Thread Gleb Natapov
Don't enter guest after SIPI was issued. CPU should process SIPI message before entering a guest mode again. kvm_arch_vcpu_runnable() return true if CPU is in SIPI state, so we can't call it here. Signed-off-by: Gleb Natapov <[EMAIL PROTECTED]> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.