Target Hardware Vendor: Qemu Target Hardware model: Cortex-A57 Target Architecture: Aarch64 Target OS: Debian 10.0/Linux 4.19.0-18-arm64 root:root user:user # Run the VM qemu-system-aarch64 -smp 2 -M virt -cpu cortex-a57 -m 1G \ -initrd initrd.img-4.19.0-18-arm64 \ -kernel vmlinuz-4.19.0-18-arm64 \ -device virtio-scsi-device,id=scsi \ -drive file=debian_10_aarch64.qcow2,id=rootimg,cache=unsafe,if=none \ -device scsi-hd,drive=rootimg \ -append "root=/dev/sda2 console=ttyAMA0" \ -netdev user,id=vnet,hostfwd=tcp::10022-:22 -device virtio-net-pci,netdev=vnet \ -nographic # Setup a reverse forward over ssh to your host if you need it # this will forward localhost:9000 in the VM to localhost:9000 on the Host ssh -p 10022 -R 9000:localhost:9000 user@localhost # Transfer the binary to test scp -P 10022 aarch64-unknown-linux-musl.bin user@localhost:/tmp # Run the binary in the VM