Re: add back pending timer irqs for kernel APIC timer

Avi Kivity
2007-08-13T13:38:04Z

Dong, Eddie wrote:
> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
>
>>>> kvm_pt_update_irq is within intr_assist where host IRQ is disabled.
>>>> It can be updated only after we return to guest.
>>>>
>>>>
>>> What if it runs on another cpu?
>>>
>> This case will be forbidden in next patch. We need to remove
>> apic->lock too.
>>
>>
> To avoid confuse, I mean hrtimer will be migrated as guest migrated.
>

Ah okay. Makes sense, and we have the hooks for it already in vcpu_load.

> And stop hrtimer when it is not in guest mode.
>

I'm not convinced this is important.

--
error compiling committee.c: too many arguments to function