I am trying to create an Ubuntu ARM disk image for my gem5 ARM experiments. The installation always shows "No network interfaces detected".
qemu-system-aarch64 \
-cpu host \
-device virtio-scsi-device \
-device scsi-cd,drive=cdrom \
-device virtio-blk-device,drive=hd0 \
-drive "file=ubuntu-16.04.5-server-arm64.iso,id=cdrom,if=none,media=cdrom" \
-drive "if=none,format=qcow2,file=ubuntu-16.04.5-server-arm64.img,id=hd0" \
-pflash "ubuntu-16.04.5-server-arm64-flash0.img" \
-pflash "ubuntu-16.04.5-server-arm64-flash1.img" \
-m 1G \
-machine virt \
-enable-kvm \
-nographic \
-net nic,netdev=n1 \
-netdev user,id=n1 \
;
I ran it on a "ROCKPro64 64-bit Hexa-Core Computer" ARM borad with KVM enabled. Any suggestions to fix "No network interfaces detected"?