From: Anthony Liguori Subject: Re: weird problem in event channel setup Date: Mon, 17 Jan 2005 18:13:19 -0500 Message-ID: <200501172313.AEZ04158@ms13.netsolmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Xin Zhao Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org ---- Original message ---- >Date: Mon, 17 Jan 2005 16:57:53 -0500 (EST) >From: Xin Zhao >Subject: [Xen-devel] weird problem in event channel setup >To: xen-devel@lists.sourceforge.net > >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@us.ibm.com >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@lists.sourceforge.net >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