kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* does anyone know how to communicate between domUs on xen?
@ 2012-02-20 13:47 summerxyt
  2012-02-20 13:59 ` rohan puri
  0 siblings, 1 reply; 3+ messages in thread
From: summerxyt @ 2012-02-20 13:47 UTC (permalink / raw)
  To: kernelnewbies

hi,
   I'm not very sure about if I can ask questions about xen here. I have tow questions.
   The first one is that I'm looking for methods about inter-domain communication for xen. I know besides network, VMs on the same physical machine can exchange information by event channel and grant table. But are these two ways working in kernel mode as part of drivers, or can I directly use them just like network socket in user mode?   I've tried to google it but only got something I can't fully understand. 
   The second questions is I want to do some extra jobs (like check tcp/ip header and change some bits) to packages in the virtual network of xen. As all domUs' packages are passing the back driver of dom0, I want to put this extra action to network back driver of dom0. But I'm not sure which part of the source code has the function of receiving packages from front driver. I think it may be function  xen_netbk_tx_action. I'll be very appreciated if someone knows the answer. Thanks!




summerxyt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120220/65c38d7a/attachment.html 

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

* does anyone know how to communicate between domUs on xen?
  2012-02-20 13:47 does anyone know how to communicate between domUs on xen? summerxyt
@ 2012-02-20 13:59 ` rohan puri
  2012-02-21  8:21   ` summerxyt
  0 siblings, 1 reply; 3+ messages in thread
From: rohan puri @ 2012-02-20 13:59 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Feb 20, 2012 at 7:17 PM, summerxyt <summerxyt@gmail.com> wrote:

> **
> hi,
>    I'm not very sure about if I can ask questions about xen here. I have
> tow questions.
>    The first one is that I'm looking for methods about inter-domain
> communication for xen. I know besides network, VMs on the same physical
> machine can exchange information by event channel and grant table. But are
> these two ways working in kernel mode as part of drivers, or can I directly
> use them just like network socket in user mode?   I've tried to google it
> but only got something I can't fully understand.
>    The second questions is I want to do some extra jobs (like check tcp/ip
> header and change some bits) to packages in the virtual network of xen. As
> all domUs' packages are passing the back driver of dom0, I want to put this
> extra action to network back driver of dom0. But I'm not sure which part of
> the source code has the function of receiving packages from front driver. I
> think it may be function  xen_netbk_tx_action<http://lxr.free-electrons.com/ident?i=xen_netbk_tx_action>.
> I'll be very appreciated if someone knows the answer. Thanks!
>
> ------------------------------
> summerxyt
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
Check the website of xen, they might have something. One which I knew was
xensocket, but I guess you would need to port it to latest xen kernel as it
was not part of it. There may be other mechanisms also.

-Rohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120220/e4b0af68/attachment-0001.html 

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

* does anyone know how to communicate between domUs on xen?
  2012-02-20 13:59 ` rohan puri
@ 2012-02-21  8:21   ` summerxyt
  0 siblings, 0 replies; 3+ messages in thread
From: summerxyt @ 2012-02-21  8:21 UTC (permalink / raw)
  To: kernelnewbies

>Check the website of xen, they might have something. One which I knew was
>xensocket, but I guess you would need to port it to latest xen kernel as it
>was not part of it. There may be other mechanisms also.

Thanks! But the truth is I've tried to search material on the official website of xen, but didn't get what i want. 

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

end of thread, other threads:[~2012-02-21  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-20 13:47 does anyone know how to communicate between domUs on xen? summerxyt
2012-02-20 13:59 ` rohan puri
2012-02-21  8:21   ` summerxyt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).