Skip to contentSkip to conversation

network questions on Qemu

DISCUSSION Avi Kivity 1 participant 1 message Apr 7, 2009 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Avi Kivity

author
#1 lore raw
Quoted 5 lines · zshan

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.

Quoted 3 lines

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.

Signature · 1 line
error compiling committee.c: too many arguments to function