|
Networking
|
- two methods - tap, usermode
- Method I: tap - network IF
- does not sent and receive from wire
- avaiable through character device
- IMG: ordinary netwok IF
- IMG: qemu tap
- Method II: usermode networking
- data packet is UDP/TCP
- qemu opens socket with same port
- extracts payload writes to socket
- responses are wrapped with headers
- sent to guest through NIC
- IMG: usermode networking
- -net nic -net user is the default
|
|