Skip to contentSkip to conversation

trace an incoming network packet of data ?

Qemu-devel S.P.T.Krishnan 2 participants 2 messages Aug 14, 2006 – Aug 16, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 <[email protected]>:

Quoted 27 lines

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
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel