Hi, Can you give me an example code of " one guest sending an asynchronous event to another domain " in xen? I''ve found out I shoud go through these steps to do so: 1. Receiving guest creates a new, unbound port. 2. Receiving guest advertises the existence of the port (typically via the Xen- Store). 3. The sending guest creates a new port if it doesn’t have any free. 4. The sending guest binds its port to the remote one. 5. The sending guest sends the event. but I didn''t find the function,exactly to do some of them like step2. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Hi, Can you give me an example code of " one guest sending an asynchronous event to another domain " in xen? I''ve found out I shoud go through these steps to do so: 1. Receiving guest creates a new, unbound port. 2. Receiving guest advertises the existence of the port (typically via the Xen- Store). 3. The sending guest creates a new port if it doesn’t have any free. 4. The sending guest binds its port to the remote one. 5. The sending guest sends the event. but I didn''t find the function,exactly to do some of them like step2. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, Aug 14, 2013 at 04:32:14PM +0430, Mina Jafari wrote:> Hi, > Can you give me an example code of " one guest sending an asynchronous event > to another domain " in xen? > I've found out I shoud go through these steps to do so: > 1. Receiving guest creates a new, unbound port. > 2. Receiving guest advertises the existence of the port (typically via the > Xen- > Store).Look in the drivers/* of the Linux tree for any reference off 'ring-ref'> 3. The sending guest creates a new port if it doesn’t have any free. > 4. The sending guest binds its port to the remote one. > 5. The sending guest sends the event. > > but I didn't find the function,exactly to do some of them like step2.> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Wed, Aug 14, 2013 at 04:32:14PM +0430, Mina Jafari wrote:> Hi, > Can you give me an example code of " one guest sending an asynchronous event > to another domain " in xen? > I've found out I shoud go through these steps to do so: > 1. Receiving guest creates a new, unbound port. > 2. Receiving guest advertises the existence of the port (typically via the > Xen- > Store).Look in the drivers/* of the Linux tree for any reference off 'ring-ref'> 3. The sending guest creates a new port if it doesn’t have any free. > 4. The sending guest binds its port to the remote one. > 5. The sending guest sends the event. > > but I didn't find the function,exactly to do some of them like step2.> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users