add net support

This commit is contained in:
yufeng 2023-02-06 19:21:43 +08:00
parent 680f7fed26
commit 9355acf903
12 changed files with 354 additions and 0 deletions

View file

@ -85,6 +85,8 @@ run-inner-none: build
# -device virtio-gpu-device \
-device virtio-keyboard-device \
-device virtio-mouse-device \
-device virtio-net-device,netdev=net0 \
-netdev user,id=net0,hostfwd=udp::6200-:2000 \
-serial stdio
run-inner: build
@ -99,6 +101,8 @@ run-inner: build
-device virtio-gpu-device \
-device virtio-keyboard-device \
-device virtio-mouse-device \
-device virtio-net-device,netdev=net0 \
-netdev user,id=net0,hostfwd=udp::6200-:2000 \
-serial stdio
fdt: