WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] weird problem in event channel setup

To: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] weird problem in event channel setup
From: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Date: Mon, 17 Jan 2005 18:13:19 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 18 Jan 2005 00:14:09 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
---- Original message ----
>Date: Mon, 17 Jan 2005 16:57:53 -0500 (EST)
>From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>  
>Subject: [Xen-devel] weird problem in event channel setup  
>To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
>
>Hi, folks,
>
>I ran into a weird problem when I tried to setup an event channel between
>dom0 and domU:

Using which ports?

>My code is quite simple: first, a dom0 application create a new channel
>and bind dom0 and domU with this channel, second, the dom0 send a message
>over control interface and send a notification via the control channel
to the domU,
>then the dom0 application quited.

Where you using the control_msg_t ring queues?  If so, what did you base
your code on?

>At the domU side, I used a kernel module to listen on the message by
>calling ctrl_if_register_receiver, when a message is available, the kernel
>module will print out the message.
>
>When I run the dom0 app for a couple of times in a fast manner, domU will
>be suspended. But if I run the dom0 application in a slow way (run, wait
>for a while, run again), domU works fine.

Maybe the queue is filling up and you're not gracefully handling it. 
Hard to say, would it be possible to post your code somewhere?

Regards,

Anthony Liguori
email: aliguori@xxxxxxxxxx

>Anybody knows why? Please give me hand. Thanks.
>
>-X
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxxxx
>https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>