vnc: 0.764 graphic: 0.705 device: 0.631 mistranslation: 0.596 semantic: 0.458 network: 0.426 performance: 0.342 user-level: 0.323 PID: 0.302 permissions: 0.288 VMM: 0.275 files: 0.273 virtual: 0.265 socket: 0.256 register: 0.243 ppc: 0.225 debug: 0.162 risc-v: 0.155 TCG: 0.146 architecture: 0.134 x86: 0.133 boot: 0.122 arm: 0.117 hypervisor: 0.109 i386: 0.090 kernel: 0.082 peripherals: 0.053 assembly: 0.042 KVM: 0.023 qemu-system-avr error: qemu-system-avr: execution left flash memory I compiled QEMU 5.1 from source with target avr-softmmu. Running demo.elf from https://github.com/seharris/qemu-avr-tests/blob/master/free-rtos/Demo/AVR_ATMega2560_GCC/demo.elf (linked from https://www.qemu.org/docs/master/system/target-avr.html) yields the following error: $ ./qemu-5.1.0/avr-softmmu/qemu-system-avr -machine mega2560 -bios demo.elf VNC server running on 127.0.0.1:5900 qemu-system-avr: execution left flash memory Aborted (core dumped) I compiled QEMU on Ubuntu Server 20.10 with gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 The error is not related to demo.elf. Running qemu-system-avr without a program (no "-bios program.elf" option) also yields the same error: $ ./qemu-5.1.0/avr-softmmu/qemu-system-avr -machine mega2560 VNC server running on 127.0.0.1:5900 qemu-system-avr: execution left flash memory Aborted (core dumped) I can not reproduce. [Expired for QEMU because there has been no activity for 60 days.]