All of lore.kernel.org
 help / color / mirror / Atom feed
* xen interrupt
@ 2013-03-17 13:18 zhangwqh
  2013-03-18 11:36 ` Ian Campbell
  2013-03-18 13:28 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 5+ messages in thread
From: zhangwqh @ 2013-03-17 13:18 UTC (permalink / raw)
  To: xen-devel

Hi, all

These days I read the source code about xen interrupts. When physical
interrupts arrive, in xen source code, do_IRQ will decide which will deal
with the physical interrupt, by xen or the guest os. If the physical
interrupt should be dealt with by guest os. Then the case __do_irq_guest()
will be executed. In __do_irq_guest() function, the corresponding event
channel will be delivered to the guests that are registered the irq. My
question is that in the guest os, how to decide whether the irq is to
itself? Eg, a guest A request a file from a disk, after the disk finished to
get the file, will generate a disk interrupt. The disk interrupt should only
be delivered to the guest A. Maybe all of the guest virtual machines
registered the  disk interrupt. __do_irq_guest will deliver the disk
interrupt to all of the virtual machines. In the virtual machine, how to
decide the disk interrupt was generated by its requested file? 



--
View this message in context: http://xen.1045712.n5.nabble.com/xen-interrupt-tp5714885.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-18 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 13:18 xen interrupt zhangwqh
2013-03-18 11:36 ` Ian Campbell
2013-03-18 12:05   ` 张伟
2013-03-18 12:10     ` Ian Campbell
2013-03-18 13:28 ` Konrad Rzeszutek Wilk

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.