All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Williamson <mark.williamson@cl.cam.ac.uk>
To: xen-devel@lists.xensource.com
Cc: James Harper <james.harper@bendigoit.com.au>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Dynamic-irq's in HVM domains
Date: Fri, 30 Nov 2007 18:57:43 +0000	[thread overview]
Message-ID: <200711301857.44555.mark.williamson@cl.cam.ac.uk> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D0131A2E1@trantor>

> > I can't help with the Windows side I'm afraid, perhaps there is a
> > windows dev newsgroup or something that might be useful?
>
> There might be. Curiously, windows communities are a bit different...
> people like to keep their cards closer to their chest :)
>
> > On Fri, 2007-11-30 at 20:02 +1100, James Harper wrote:
> > > I made the assumption that 'Dynamic-irq' is the same as virq... if
> > > not, what is a virq? It appears to be something that the hypervisor
>
> is
>
> > > aware of as there is a hypercall to bind to one.
> >
> > They are IRQ sources from the hypervisor (as opposed to from a virtual
> > or physical device or another domain). From xen/include/public/xen.h:
>
> <snip>
>
> > They are used by binding them to an event channel using
> > EVTCHNOP_bind_virq, as you've probably noticed.
>
> Ah. I had them backwards. I was assuming you could say 'when an event
> channel fires, call this virq instead' and the virq would jump somewhere
> into your idt.
>
> I'll keep searching for another way...

Doesn't windows have some kind of deferred work processing like Linux softirqs 
or workqueues that you could used to schedule work to happen soon in driver 
context?  That'd enable you to do everything within existing windows APIs.

Afraid I've not done any Windows development, either ;-)

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

  reply	other threads:[~2007-11-30 18:57 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
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 [this message]
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=200711301857.44555.mark.williamson@cl.cam.ac.uk \
    --to=mark.williamson@cl.cam.ac.uk \
    --cc=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.