Re: [PATCH v4 08/12] x86/vpt: switch interrupt injection model

2021-05-04 Thread Jan Beulich
On 20.04.2021 16:07, Roger Pau Monne wrote: > @@ -295,188 +248,153 @@ static void pt_irq_fired(struct vcpu *v, struct > periodic_time *pt) > list_del(&pt->list); > pt->on_list = false; > pt->pending_intr_nr = 0; > + > +return; > } > -else if ( mode_i

[PATCH v4 08/12] x86/vpt: switch interrupt injection model

2021-04-20 Thread Roger Pau Monne
Currently vPT relies on timers being assigned to a vCPU and performing checks on every return to HVM guest in order to check if an interrupt from a vPT timer assigned to the vCPU is currently being injected. This model doesn't work properly since the interrupt destination vCPU of a vPT timer can b