summaryrefslogtreecommitdiff
path: root/target/aarch64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-13 16:00:56 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-13 16:01:29 (GMT)
commit1c698117789ea48479e3efd7106096382201d744 (patch)
treef9e74765e1810da0355780d72dddb94c450e4c80 /target/aarch64
parent306aa03deba3b680a18cb78966dde9f5e212862d (diff)
fix networkin in qemu-system-aarch64
Diffstat (limited to 'target/aarch64')
-rw-r--r--target/aarch64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile
index cd4fb8f..a423be3 100644
--- a/target/aarch64/Makefile
+++ b/target/aarch64/Makefile
@@ -12,7 +12,7 @@ KERNEL:=${LINUX_DIR}/arch/arm64/boot/Image
QEMU_ARGS:=${ADK_QEMU_ARGS}
QEMU_ARGS+=-M virt -cpu cortex-a57 -smp 1
ifeq ($(ADK_TARGET_QEMU_WITH_VIRTIO),y)
-QEMU_ARGS+=-net nic,model=virtio -net user
+QEMU_ARGS+=-netdev user,id=eth0 -device virtio-net-device,netdev=eth0
endif
ifeq ($(ADK_TARGET_FS),archive)
QEMU_ARGS+=-drive file=qemu-${ADK_TARGET_CPU_ARCH}.img,if=virtio,index=0