Xin Zhao
2005-Jan-19 19:53 UTC
[Xen-devel] what''s the best way for a DomU module send control message to Dom0 via control interface?
One way seems to be ctrl_if_send_message_block like functions. I did register a receiver in a Dom0 kernel module, then use ctrl_if_send_message_block() to send msg to Dom0 module, if the Dom0 module gets the msg, it should print out some information. Unfortunately, after DomU module sent out msg, nothing happened. The msg seems to be lost by Dom0, why? I also tried to use a revised xu_port_send_request() function in Dom0 to send msg over control interface to a DomU module, it works, but when I tried to use the same way to send a msg from DomU to Dom0, again, Dom0 lost this msg. Can somebody help me out? Thanks in advance! -x ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Xin Zhao
2005-Jan-19 20:17 UTC
Re: [Xen-devel] what''s the best way for a DomU module send control message to Dom0 via control interface?
Unfortunately, yes. I am running Xend. Is there any way to bypass xend and handle requests myself? I really don''t want to spend time in digging into the xend codes. :( Thanks, xin On Wed, 19 Jan 2005, Anthony Liguori wrote:> On Wed, 2005-01-19 at 13:53, Xin Zhao wrote: > > One way seems to be ctrl_if_send_message_block like functions. I did > > register a receiver in a Dom0 kernel module, then use > > ctrl_if_send_message_block() to send msg to Dom0 module, if the Dom0 > > module gets the msg, it should print out some information. Unfortunately, > > after DomU module sent out msg, nothing happened. The msg seems to be lost > > by Dom0, why? > > Are you running Xend? Xend will catch any unknown requests and drop > them. > > Regards, > > > I also tried to use a revised xu_port_send_request() function in Dom0 to > > send msg over control interface to a DomU module, it works, but when I > > tried to use the same way to send a msg from DomU to Dom0, again, Dom0 > > lost this msg. > > > > Can somebody help me out? Thanks in advance! > > > > -x > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > -- > Anthony Liguori > Linux Technology Center (LTC) - IBM Austin > E-mail: aliguori@us.ibm.com > Phone: (512) 838-1208 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Anthony Liguori
2005-Jan-19 20:18 UTC
Re: [Xen-devel] what''s the best way for a DomU module send control message to Dom0 via control interface?
On Wed, 2005-01-19 at 13:53, Xin Zhao wrote:> One way seems to be ctrl_if_send_message_block like functions. I did > register a receiver in a Dom0 kernel module, then use > ctrl_if_send_message_block() to send msg to Dom0 module, if the Dom0 > module gets the msg, it should print out some information. Unfortunately, > after DomU module sent out msg, nothing happened. The msg seems to be lost > by Dom0, why?Are you running Xend? Xend will catch any unknown requests and drop them. Regards,> I also tried to use a revised xu_port_send_request() function in Dom0 to > send msg over control interface to a DomU module, it works, but when I > tried to use the same way to send a msg from DomU to Dom0, again, Dom0 > lost this msg. > > Can somebody help me out? Thanks in advance! > > -x > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel-- Anthony Liguori Linux Technology Center (LTC) - IBM Austin E-mail: aliguori@us.ibm.com Phone: (512) 838-1208 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Anthony Liguori
2005-Jan-19 20:39 UTC
Re: [Xen-devel] what''s the best way for a DomU module send control message to Dom0 via control interface?
On Wed, 2005-01-19 at 14:17, Xin Zhao wrote:> Unfortunately, yes. I am running Xend. Is there any way to bypass xend and > handle requests myself? I really don''t want to spend time in digging into > the xend codes. :(Not at the moment unless you do all the management yourself. This is what the discussion of multiplexing the control channel is about. xsc in xen-unstable is the start of a framework to let you do that. Regards,> Thanks, > xin > > On Wed, 19 Jan 2005, Anthony Liguori wrote: > > > On Wed, 2005-01-19 at 13:53, Xin Zhao wrote: > > > One way seems to be ctrl_if_send_message_block like functions. I did > > > register a receiver in a Dom0 kernel module, then use > > > ctrl_if_send_message_block() to send msg to Dom0 module, if the Dom0 > > > module gets the msg, it should print out some information. Unfortunately, > > > after DomU module sent out msg, nothing happened. The msg seems to be lost > > > by Dom0, why? > > > > Are you running Xend? Xend will catch any unknown requests and drop > > them.-- Anthony Liguori Linux Technology Center (LTC) - IBM Austin E-mail: aliguori@us.ibm.com Phone: (512) 838-1208 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel