From: Ian Campbell <Ian.Campbell@citrix.com>
To: James Harper <james.harper@bendigoit.com.au>
Cc: xen-devel@lists.xensource.com
Subject: RE: Dynamic-irq's in HVM domains
Date: Fri, 30 Nov 2007 08:19:54 +0000 [thread overview]
Message-ID: <1196410794.14204.18.camel@localhost.localdomain> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D0131A2D0@trantor>
[Inverting your top-post]
> > 'cat /proc/interrupts' in a Linux PV domain shows interrupts starting
> > at 256 and labelled as 'Dynamic-irq'. Are these available in a HVM
> > domain eg under Windows?
On Fri, 2007-11-30 at 13:29 +1100, James Harper wrote:
> I'm really desperate for an answer to this question...
Dynamic IRQs are just a convenient Linux interface used to represent
event channels in order that they can be used with the regular IRQ
subsystem. Although I think they were added by Xen folk I don't think
there's anything Xen specific or special about them.
Event channels are (of course) exposed to HVM guests. The Linux
PV-on-HVM drivers export them itself via their own parallel
interrupt-like subsystem because not all the native versions supported
by the PV-on-HVM drivers have dynamic IRQs. See evtchn_interrupt() and
the other code in unmodified_drivers/linux-2.6/platform-pci/evtchn.c
Perhaps Windows has a similar concept to dynamic IRQs in its IRQ
subsystem, I'm afraid not being a Windows type I have no idea about
that. You can still use event channels outside of the regular windows
IRQ subsystem though, as demonstrated above.
> Failing that, can I use physical IRQ's in a HVM domain to bind to? Eg
> nothing is using IRQ 26, can I use that with bind_pirq? The only docs I
> can find says 'Furthermore the calling domain must be sufficiently
> privileged.', but I'm not sure how privileged 'sufficiently' means in
> this context.
I doubt that will work, I expect privileged means either domain 0 or a
domain with a PCI passthrough device attached...
Ian.
next prev parent reply other threads:[~2007-11-30 8:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 11:05 Dynamic-irq's in HVM domains James Harper
2007-11-30 2:29 ` James Harper
2007-11-30 8:19 ` Ian Campbell [this message]
2007-11-30 9:02 ` James Harper
2007-11-30 9:10 ` Pasi Kärkkäinen
2007-11-30 9:13 ` James Harper
2007-11-30 9:15 ` Pasi Kärkkäinen
2007-11-30 9:33 ` Ian Campbell
2007-11-30 9:37 ` James Harper
2007-11-30 18:57 ` Mark Williamson
2007-11-30 22:00 ` James Harper
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=1196410794.14204.18.camel@localhost.localdomain \
--to=ian.campbell@citrix.com \
--cc=james.harper@bendigoit.com.au \
--cc=xen-devel@lists.xensource.com \
/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.