Re: [Xen-devel] [PATCH v4 4/4] x86/vioapic: bind interrupts to PVH Dom0

2017-06-19 Thread Roger Pau Monne
On Wed, Jun 07, 2017 at 07:20:38AM -0600, Jan Beulich wrote: > >>> On 01.06.17 at 13:49, wrote: > > --- a/xen/arch/x86/hvm/vioapic.c > > +++ b/xen/arch/x86/hvm/vioapic.c > > @@ -158,6 +158,52 @@ static int vioapic_read( > > return X86EMUL_OKAY; > > } > > > > +static int vioapic_hwdom_map_g

Re: [Xen-devel] [PATCH v4 4/4] x86/vioapic: bind interrupts to PVH Dom0

2017-06-07 Thread Jan Beulich
>>> On 01.06.17 at 13:49, wrote: > --- a/xen/arch/x86/hvm/vioapic.c > +++ b/xen/arch/x86/hvm/vioapic.c > @@ -158,6 +158,52 @@ static int vioapic_read( > return X86EMUL_OKAY; > } > > +static int vioapic_hwdom_map_gsi(unsigned int gsi, unsigned int trig, > + u

[Xen-devel] [PATCH v4 4/4] x86/vioapic: bind interrupts to PVH Dom0

2017-06-01 Thread Roger Pau Monne
Add the glue in order to bind the PVH Dom0 GSI from bare metal. This is done when Dom0 unmasks the vIO APIC pins, by fetching the current pin settings and setting up the PIRQ, which will then be bound to Dom0. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- Changes sinc