Re: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-19 Thread Gleb Natapov
On Fri, Mar 13, 2009 at 10:15:22AM +0800, Zhang, Xiantao wrote: We also hacked the source like the patch. But the issue is not caused by it. We are still trying to figure the reason out. Thanks! Xiantao With the patch below I am able to compile kvm-userspace on IA64 and run linux guest.

RE: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-19 Thread Zhang, Xiantao
Gleb Natapov wrote: On Fri, Mar 13, 2009 at 10:15:22AM +0800, Zhang, Xiantao wrote: We also hacked the source like the patch. But the issue is not caused by it. We are still trying to figure the reason out. Thanks! Xiantao With the patch below I am able to compile kvm-userspace on IA64

Re: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-19 Thread Gleb Natapov
On Thu, Mar 19, 2009 at 03:56:07PM +0800, Zhang, Xiantao wrote: Gleb Natapov wrote: On Fri, Mar 13, 2009 at 10:15:22AM +0800, Zhang, Xiantao wrote: We also hacked the source like the patch. But the issue is not caused by it. We are still trying to figure the reason out. Thanks! Xiantao

RE: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-12 Thread Zhang, Xiantao
Tosatti; Ingo Molnar; kvm@vger.kernel.org; Peter Zijlstra Subject: Re: x86: use smp_send_reschedule in kvm_vcpu_kick On Thu, Mar 12, 2009 at 10:31:47AM +0800, Zhang, Xiantao wrote: Avi Kivity wrote: Marcelo Tosatti wrote: OK, reworked patch: - change ia64 in addition to x86 - add comment

RE: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-11 Thread Zhang, Xiantao
Avi Kivity wrote: Marcelo Tosatti wrote: OK, reworked patch: - change ia64 in addition to x86 - add comment on smp send reschedule handlers about KVM's usage Untested on IA64. KVM: use smp_send_reschedule in kvm_vcpu_kick KVM uses a function call IPI to cause the exit of a guest

Re: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-03 Thread Marcelo Tosatti
On Tue, Mar 03, 2009 at 03:53:50PM +0800, Zhang, Xiantao wrote: Marcelo Tosatti wrote: @@ -72,7 +73,6 @@ struct kvm_vcpu { struct mutex mutex; int cpu; struct kvm_run *run; - int guest_mode; unsigned long requests; unsigned long guest_debug; int

Re: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-03 Thread Marcelo Tosatti
On Tue, Mar 03, 2009 at 03:25:57PM +0200, Gleb Natapov wrote: On Tue, Mar 03, 2009 at 10:25:20AM -0300, Marcelo Tosatti wrote: On Tue, Mar 03, 2009 at 03:53:50PM +0800, Zhang, Xiantao wrote: Marcelo Tosatti wrote: @@ -72,7 +73,6 @@ struct kvm_vcpu { struct mutex mutex;

RE: x86: use smp_send_reschedule in kvm_vcpu_kick

2009-03-02 Thread Zhang, Xiantao
Marcelo Tosatti wrote: @@ -72,7 +73,6 @@ struct kvm_vcpu { struct mutex mutex; int cpu; struct kvm_run *run; - int guest_mode; unsigned long requests; unsigned long guest_debug; int fpu_active; The deletion will break other archs which depend on