Re: [Xen-devel] [PATCH v6 2/3] x86/pt: enable binding of GSIs to a PVH Dom0

2017-06-23 Thread Jan Beulich
>>> On 23.06.17 at 11:59, wrote: > --- a/xen/include/asm-x86/hvm/vioapic.h > +++ b/xen/include/asm-x86/hvm/vioapic.h > @@ -69,5 +69,6 @@ void vioapic_update_EOI(struct domain *d, u8 vector); > > int vioapic_get_mask(struct domain *d, unsigned int gsi); > int vioapic_get_vector(struct domain *d

[Xen-devel] [PATCH v6 2/3] x86/pt: enable binding of GSIs to a PVH Dom0

2017-06-23 Thread Roger Pau Monne
Achieve this by expanding pt_irq_create_bind in order to support mapping interrupts of type PT_IRQ_TYPE_PCI to a PVH Dom0. GSIs bound to Dom0 are always identity bound, which means the all the fields inside of the u.pci sub-struct are ignored, and only the machine_irq is actually used in order to d