[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] VLAPIC and Event channel relationship or how to map PIRQ to HVM guest



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@xxxxxxxxxxxxx
> https://lists.xen.org/xen-devel


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.