All of lore.kernel.org
 help / color / mirror / Atom feed
From: Big Strong <fangtuo90@gmail.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Tamas Lengyel <tamas.k.lengyel@gmail.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: fail to register IRQ for virtualization exception
Date: Fri, 2 Sep 2016 16:35:47 +0800	[thread overview]
Message-ID: <CAFnE1f3WwX0MWSzdp9peqaT=eCJk=De+rijdKT+3vx5-AbjWFw@mail.gmail.com> (raw)
In-Reply-To: <57C94BC0020000780010B177@prv-mh.provo.novell.com>


[-- Attachment #1.1: Type: text/plain, Size: 674 bytes --]

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@suse.com>:

> >>> On 02.09.16 at 04:59, <fangtuo90@gmail.com> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1184 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

  reply	other threads:[~2016-09-02  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02  2:59 fail to register IRQ for virtualization exception Big Strong
2016-09-02  7:52 ` Jan Beulich
2016-09-02  8:35   ` Big Strong [this message]
2016-09-02 12:35     ` Big Strong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFnE1f3WwX0MWSzdp9peqaT=eCJk=De+rijdKT+3vx5-AbjWFw@mail.gmail.com' \
    --to=fangtuo90@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=tamas.k.lengyel@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.