The qemu ports/packages currently do not include AArch64 UEFI boot firmware. Linaro provides pre-built UEFI firmware files. These instructions have been tested with version 1664 of QEMU_EFI.fd. But, since that file is no longer available, use this one.

To boot the VM image, fetch the QEMU_EFI.fd file and then run:

    % qemu-system-aarch64 -m 4096M -cpu cortex-a57 -M virt  \
        -bios QEMU_EFI.fd -serial telnet::4444,server -nographic \
        -drive if=none,file=VMDISK,id=hd0 \
        -device virtio-blk-device,drive=hd0 \
        -device virtio-net-device,netdev=net0 \
        -netdev user,id=net0

Be sure to replace "VMDISK" with the path to the virtual machine image.

To connect to the virtual console run telnet localhost 4444.

arm64/QEMU (last edited 2017-07-19 17:06:22 by GlenBarber)