All of lore.kernel.org
 help / color / mirror / Atom feed
* what's the best way for a DomU module send control message to Dom0 via control interface?
@ 2005-01-19 19:53 Xin Zhao
  2005-01-19 20:18 ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2005-01-19 19:53 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what's the best way for a DomU module send control message to Dom0 via control interface?
  2005-01-19 20:18 ` Anthony Liguori
@ 2005-01-19 20:17   ` Xin Zhao
  2005-01-19 20:39     ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2005-01-19 20:17 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what's the best way for a DomU module send control message to Dom0 via control interface?
  2005-01-19 19:53 what's the best way for a DomU module send control message to Dom0 via control interface? Xin Zhao
@ 2005-01-19 20:18 ` Anthony Liguori
  2005-01-19 20:17   ` Xin Zhao
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2005-01-19 20:18 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what's the best way for a DomU module send control message to Dom0 via control interface?
  2005-01-19 20:17   ` Xin Zhao
@ 2005-01-19 20:39     ` Anthony Liguori
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2005-01-19 20:39 UTC (permalink / raw)
  To: Xin Zhao; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-19 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-19 19:53 what's the best way for a DomU module send control message to Dom0 via control interface? Xin Zhao
2005-01-19 20:18 ` Anthony Liguori
2005-01-19 20:17   ` Xin Zhao
2005-01-19 20:39     ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.