Re: x86: use smp_send_reschedule in kvm_vcpu_kick

Gleb Natapov
2009-03-19T08:15:39Z

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
> >>
> >
> > With the patch below I am able to compile kvm-userspace on IA64 and
> > run linux guest.
> >Network doesn't work since there is some kind of
> > problem with PCI interrupts. They are not delivered to a guest.
>
> Network should work before kvm-82, and not sure latest irq-bits changes has some side-impact for ipf side.
> You can reference ioapic_map_irq in ipf.c, and the mapping should match the PRT of bios.
>
Can you send me your Flash.fd?

> > @@ -29,7 +29,7 @@
> >
> > #define TARGET_LONG_BITS 64
> >
> > -#define TARGET_PAGE_BITS 16
> > +#define TARGET_PAGE_BITS 14
>
> If the host kernel's page size is 64k ,bits should be 16, and 16k with 14. We may reference kernel's page size here.
It should be determined by configure script. I am not sure PAGE_SIZE
define is exported to userspace.

--
Gleb.