I'm running on a host ubuntu 21.04 system on a Neoverse ARM64 processor (Ampere) processor.
I want to run /usr/bin/qemu-system-aarch64 in kvm mode, where the guest is an ARM64 running ubuntu 20.10. (The guest runs fine in qemu tcg mode.)
I am unable to get the expected invocation to run. The qemu runs briefly, then hangs in ppoll (per strace). My invocation is closely patterned after an analogous invocation on host=guest=amd64.
Does anybody have any successful current similar experience running modern qemu and ubuntu they would like to share?
Perhaps host ubuntu 21.04 is too bleeding edge...
my invocation is:
/usr/bin/qemu-system-aarch64 \
-m size=4096 \
-smp cpus=4 \
-accel kvm \
-cpu host \
-nographic \
-machine virt \
-bios $HOME/QEMU_EFI.fd \
-drive if=none,id=hd0,file=$HOME/ubuntu-20.10-server-cloudimg-rrh-arm64.img \
-device virtio-blk-device,drive=hd0 \
-drive if=none,id=cloud,file=$HOME/linux_cloud_config.img \
-device virtio-blk-device,drive=cloud \
-device virtio-net-device,netdev=user0 \
-netdev user,id=user0,hostfwd=tcp::2222-:22,hostfwd=tcp::5010-:5010,hostfwd=tcp::5000-:5000