xen-devel
Re: [Xen-devel] Questions about device/event channels in Xen.
On 16/3/07 06:02, "Liang Yang" <multisyncfe991@xxxxxxxxxxx> wrote:
> First: it seems Xen uses at least two different types of even "channels".
> First type is for interrupt notification (upper call or uni-directional) and
> the second if for the notification of queued descriptors (bi-directional).
> So is the type of event channel fixed when Xen allocate them or not fixed
> (for the same device), e.g. event channel 2 was a uni-directional type and
> later can be changed to bi-directional type.
An event channel can be allocated/deallocated many times during a domain's
lifetime. The type of an event channel can change across allocations, but is
fixed at allocation time for a particular allocate-to-deallocate period.
> Second: as these events are handled asynchronously, does Xen treat different
> type of event differently? For example, does Xen always respond to
> interrupt event immediately (unlike queuing more descriptors and then set up
> event)?
Xen doesn't treat event delivery differently depending on type of event
channel. What changes is the reason for kicking the event channel.
> Third: for a PCIe device, I can choose to use MSI or the legacy line-based
> interrupt. Does different type of interrupt handling mechanism affect the
> event channel set-up?
We don't support MSI yet, but the event-channel interface will not change
when MSI is supported. The event channel will still be bound to a 'pirq'.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
| <Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: Xen-devel Digest, Vol 25, Issue 93 , PUCCETTI Armand
- RE: [Xen-devel] Re: Xen-devel Digest, Vol 25, Issue 93 , Petersson, Mats
- Re: [Xen-devel] Re: Xen-devel Digest, Vol 25, Issue 93 , Keir Fraser
- RE: [Xen-devel] More page-table questions. , Petersson, Mats
- Re: [Xen-devel] More page-table questions. , Keir Fraser
- RE: [Xen-devel] More page-table questions. , Petersson, Mats
- Re: [Xen-devel] More page-table questions. , Keir Fraser
- [Xen-devel] Questions about device/event channels in Xen. , Liang Yang
- Re: [Xen-devel] Questions about device/event channels in Xen. , Mark Williamson
- RE: [Xen-devel] Questions about device/event channels in Xen. , Liang Yang
- Re: [Xen-devel] Questions about device/event channels in Xen.,
Keir Fraser <=
- [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains? , Liang Yang
- RE: [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains? , Petersson, Mats
- Re: [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains? , Liang Yang
- Re: [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains? , Mark Williamson
- RE: [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains? , Liang Yang
- [Xen-devel] Does Xen also plan to move the back-end driver to the stub domain for HVM? , Liang Yang
- RE: [Xen-devel] Does Xen also plan to move the back-end driver to the stub domain for HVM? , Petersson, Mats
- [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM? , Anthony Liguori
- Re: [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM? , Liang Yang
- Re: [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM? , Anthony Liguori
|
|