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

Re: [Xen-devel] fail to register IRQ for virtualization exception



Sorry for that. Could you give any suggestions on how to register the IRQ handler for #VE?

2016-09-02 15:52 GMT+08:00 Jan Beulich <JBeulich@xxxxxxxx>:
>>> On 02.09.16 at 04:59, <fangtuo90@xxxxxxxxx> wrote:
> I'm recently trying to utilize the virtualization exception (#VE) feature.
> As the document says, #VE is handled by guest interrupt handler. The IRQ
> number of #VE is 20. However, when I tried to register an IRQ handler for
> #VE, it returns errno -22, which means invalid arguments.
>
> request_irq(20, ve_handler, IRQF_NO_SUSPEND, "ve", NULL)
>
> Is there anything wrong?

You're mixing up exception vectors and IRQ numbers.

Jan


_______________________________________________
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®.