does anyone know how to communicate between domUs on xen?

rohan puri rohan.puri15 at gmail.com
Mon Feb 20 08:59:41 EST 2012


On Mon, Feb 20, 2012 at 7:17 PM, summerxyt <summerxyt at 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 


More information about the Kernelnewbies mailing list