kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: summerxyt@gmail.com (summerxyt)
To: kernelnewbies@lists.kernelnewbies.org
Subject: does anyone know how to communicate between domUs on xen?
Date: Mon, 20 Feb 2012 21:47:35 +0800	[thread overview]
Message-ID: <2012022021473533559547@gmail.com> (raw)

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 

             reply	other threads:[~2012-02-20 13:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-20 13:47 summerxyt [this message]
2012-02-20 13:59 ` does anyone know how to communicate between domUs on xen? rohan puri
2012-02-21  8:21   ` summerxyt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2012022021473533559547@gmail.com \
    --to=summerxyt@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).