Re: [PATCH for-4.14 6/8] x86/vpt: fix injection to remote vCPU

2020-06-19 Thread Jan Beulich
On 18.06.2020 19:14, Roger Pau Monné wrote: > On Thu, Jun 18, 2020 at 05:12:17PM +0200, Jan Beulich wrote: >> On 12.06.2020 17:56, Roger Pau Monne wrote: >>> case PTSRC_ioapic: >>> pt_vector = hvm_ioapic_assert(v->domain, irq, level); >>> -if ( pt_vector < 0 || !vlapic_test_ir

Re: [PATCH for-4.14 6/8] x86/vpt: fix injection to remote vCPU

2020-06-18 Thread Roger Pau Monné
On Thu, Jun 18, 2020 at 05:12:17PM +0200, Jan Beulich wrote: > On 12.06.2020 17:56, Roger Pau Monne wrote: > > vpt timers are usually added to the per-vCPU list of the vCPU where > > they get setup, but depending on the timer source type that vCPU might > > be different than the one where the inter

Re: [PATCH for-4.14 6/8] x86/vpt: fix injection to remote vCPU

2020-06-18 Thread Jan Beulich
On 12.06.2020 17:56, Roger Pau Monne wrote: > vpt timers are usually added to the per-vCPU list of the vCPU where > they get setup, but depending on the timer source type that vCPU might > be different than the one where the interrupt vector gets injected. > > For example the PIT timer use a PIC o

[PATCH for-4.14 6/8] x86/vpt: fix injection to remote vCPU

2020-06-12 Thread Roger Pau Monne
vpt timers are usually added to the per-vCPU list of the vCPU where they get setup, but depending on the timer source type that vCPU might be different than the one where the interrupt vector gets injected. For example the PIT timer use a PIC or IO-APIC pin in order to select the destination vCPU