From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDHVs-0003tQ-LJ for qemu-devel@nongnu.org; Wed, 16 Aug 2006 05:16:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDHVq-0003tC-3C for qemu-devel@nongnu.org; Wed, 16 Aug 2006 05:16:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDHVp-0003t9-UV for qemu-devel@nongnu.org; Wed, 16 Aug 2006 05:16:33 -0400 Received: from [64.233.166.177] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GDHc4-0000Vk-48 for qemu-devel@nongnu.org; Wed, 16 Aug 2006 05:23:00 -0400 Received: by py-out-1112.google.com with SMTP id c63so156182pyc for ; Wed, 16 Aug 2006 02:16:33 -0700 (PDT) Message-ID: Date: Wed, 16 Aug 2006 11:16:32 +0200 From: "Alessandro Corradi" Subject: Re: [Qemu-devel] trace an incoming network packet of data ? In-Reply-To: <3ed52ec0608140717s60f7be4enf02489de29880418@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57750_22590170.1155719792957" References: <3ed52ec0608140717s60f7be4enf02489de29880418@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_57750_22590170.1155719792957 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am interesting to understand qemu network manage too. I search and find this document: http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html Look if it can help you (I read it very fast but I think it's very interesting). 2006/8/14, S. P. T. Krishnan : > > Hi, > > I would like to know how a network packet of data is received by qemu > and delivered to the guest OS ? > > I need to debug/print the incoming data at the qemu-level before it > reaches the guest OS. > Can you give me a few hints at what files and structs should I be > spending some time on ? > > I saw vl.c to be of some importance along with /hw/ne2000.c which > emulates the network card. However, I want to know the method > (flow-chart ?) which qemu uses to interact with the host OS and > transfers the packets of data to the guest OS ? > > Many thanks in advance for your time. > > regards, > Krishnan > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > ------=_Part_57750_22590170.1155719792957 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
I am interesting to understand qemu network manage too. I search and find this document:
Look if it can help you (I read it very fast but I think it's very interesting).

 
2006/8/14, S. P. T. Krishnan <sptkrishnan@gmail.com>:
Hi,

I would like to know how a network packet of data is received by qemu
and delivered to the guest OS ?

I need to debug/print the incoming data at the qemu-level before it
reaches the guest OS.
Can you give me a few hints at what files and structs should I be
spending some time on ?

I saw vl.c to be of some importance along with /hw/ne2000.c which
emulates the network card.  However, I want to know the method
(flow-chart ?) which qemu uses to interact with the host OS and
transfers the packets of data to the guest OS ?

Many thanks in advance for your time.

regards,
Krishnan


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

------=_Part_57750_22590170.1155719792957--