On Wed, Feb 22, 2017 at 12:41:16PM +0300, Dmitry Rockosov wrote:
> Hello guys,
> 
> Could someone help me with VLAPIC and Event channel relationship? I can't
> find any good design overview for it.

LAPIC is extensively described in the Intel SDM.

The event channels are described in the header files, but
also this https://xenbits.xenproject.org/people/dvrabel/event-channels-F.pdf
may help.

> Are they compatible things or not?

They are not.
> 
> Actually I want to map any PIRQ to HVM guest (for example keyboard), and
> use VLAPIC to deliver virtual interrupt to HVM guest.

OK, that should be OK. The problem is that Linux guests will
be default use the event channel vector (243) and ignore the
LAPIC machinery.

> But seems like all interrupts from keyboard are working through the Event
> Channel Upcall Interrupt with vector 243.

If you boot with 'xen_nopv' it should use the normal APIC machinery.

> 
> Please, help me or point any useful documentation.
> 
> Thank you!
> 
> Best Regards,
> Rockosov Dmitry

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to