public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: zshan <zshan@cse.buaa.edu.cn>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: network questions on Qemu
Date: Tue, 07 Apr 2009 15:11:39 +0300	[thread overview]
Message-ID: <49DB42FB.4080006@redhat.com> (raw)
In-Reply-To: <200904071940147947893@cse.buaa.edu.cn>

zshan wrote:
> hi all:
> I am now recently using KVM which use the Qemu to perform network I/O
> activities, I use the tun/tap bridging to let the guest os connect to
> the Internet , and the detailed network topology is as follows:
>

Wow, ascii art in an image.


> And I am so curious about the interaction between the tap and qemu,
> how can packet been passed from tap to qemu, and what is the ingress
> path in detail ?



Look in qemu/net.c, qemu uses read() and write() to receive and send
packets through tap.

-- 
error compiling committee.c: too many arguments to function


           reply	other threads:[~2009-04-07 12:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200904071940147947893@cse.buaa.edu.cn>]

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=49DB42FB.4080006@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=zshan@cse.buaa.edu.cn \
    /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