Skip to contentSkip to conversation

Inter-domain event channel question

DISCUSSION Ruslan Nikolaev 2 participants 3 messages May 3, 2012 – May 4, 2012

lore
Share & tools
lore
#0 lore raw

Hi

I want to set up an inter-domain event channel, and I want to receive interrupts in both directions (i.e. Dom1 can independently send an interrupt to Dom2 or vice versa).Do I need to have just 2 ports: one is on Dom 1 and the other one on Dom 2, and on each domain I simply bind it to the corresponding interrupt handler? Or do I need to have 4 ports: one pair is used for Dom2-to-Dom1 interrupts and the other pair for Dom1-to-Dom2 interrupts?

I would greatly appreciate if someone can explain it!

Ruslan

#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Ruslan Nikolaev

I want to set up an inter-domain event channel, and I want to receive interrupts in both directions (i.e. Dom1 can independently send an interrupt to Dom2 or vice versa).Do I need to have just 2 ports: one is on Dom 1 and the other one on Dom 2, and on each domain I simply bind it to the corresponding interrupt handler? Or do I need to have 4 ports: one pair is used for Dom2-to-Dom1 interrupts and the other pair for Dom1-to-Dom2 interrupts?

One port on each end should suffice.

Jan

#2 lore raw

Thanks!

Also, if I pass some parameters in shared buffer (a shared page between domains), is it required to use a memory barrier before 'notify_remote_via_evtchn'?

Ruslan

----- Original Message -----
From: Jan Beulich <[email protected]>
To: Ruslan Nikolaev <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Friday, May 4, 2012 3:28 AM
Subject: Re: [Xen-devel] Inter-domain event channel question

Quoted 7 lines
Quoted 1 line
Quoted 1 line · Ruslan Nikolaev

I want to set up an inter-domain event channel, and I want to receive interrupts in both directions (i.e. Dom1 can independently send an interrupt to Dom2 or vice versa).Do I need to have just 2 ports: one is on Dom 1 and the other one on Dom 2, and on each domain I simply bind it to the corresponding interrupt handler? Or do I need to have 4 ports: one pair is used for Dom2-to-Dom1 interrupts and the other pair for Dom1-to-Dom2 interrupts?

One port on each end should suffice.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel