From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GCdFp-0000XD-Pg for qemu-devel@nongnu.org; Mon, 14 Aug 2006 10:17:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GCdFn-0000Wv-9E for qemu-devel@nongnu.org; Mon, 14 Aug 2006 10:17:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCdFn-0000Ws-4F for qemu-devel@nongnu.org; Mon, 14 Aug 2006 10:17:19 -0400 Received: from [66.249.82.239] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GCdLc-0007zV-C3 for qemu-devel@nongnu.org; Mon, 14 Aug 2006 10:23:20 -0400 Received: by wx-out-0506.google.com with SMTP id r21so1204779wxc for ; Mon, 14 Aug 2006 07:17:17 -0700 (PDT) Message-ID: <3ed52ec0608140717s60f7be4enf02489de29880418@mail.gmail.com> Date: Mon, 14 Aug 2006 22:17:16 +0800 From: S.P.T.Krishnan MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] trace an incoming network packet of data ? 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 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