Re: x86: use smp_send_reschedule in kvm_vcpu_kick

Gleb Natapov
2009-03-03T13:29:26Z

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;
> > > 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 the filed.
>
> Indeed. Will keep it, thanks.
The only other arch is ia64 and its kvm_vcpu_kick() should be fixed
the same way. No?

--
Gleb.