summaryrefslogtreecommitdiff
path: root/target/arc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-08-03 16:24:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-08-03 16:24:30 +0200
commita064ed4bb3e4d384ed4e08ac0a884da5afc95b4a (patch)
tree1a9d9fbe54eef8df9ad88860edb1c1a5080b478e /target/arc/Makefile
parent95e1196f4d37f3739ba2a9dbaae76f02b312debf (diff)
qemu-system-arc: use virtio for networking
Diffstat (limited to 'target/arc/Makefile')
-rw-r--r--target/arc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arc/Makefile b/target/arc/Makefile
index 702debfce..8eed37760 100644
--- a/target/arc/Makefile
+++ b/target/arc/Makefile
@@ -12,6 +12,7 @@ KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
endif
QEMU_ARGS:=-monitor none -serial stdio
+QEMU_ARGS+=-netdev user,id=eth0 -device virtio-net-device,netdev=eth0
QEMU_ARGS+=${ADK_QEMU_ARGS}
ifeq ($(ADK_TARGET_CPU_ARC_ARC700),y)