peripherals: 0.987 network: 0.983 graphic: 0.982 kernel: 0.975 boot: 0.945 device: 0.942 virtual: 0.923 performance: 0.906 vnc: 0.891 assembly: 0.873 semantic: 0.862 arm: 0.826 user-level: 0.791 hypervisor: 0.790 permissions: 0.773 architecture: 0.728 register: 0.725 files: 0.715 risc-v: 0.662 PID: 0.655 socket: 0.654 debug: 0.637 ppc: 0.624 VMM: 0.619 mistranslation: 0.617 i386: 0.358 TCG: 0.295 KVM: 0.223 x86: 0.145 HVF: Ubuntu Server fails to boot Linux 5.4.0-104 Description of problem: On macOS with HVF, when Ubuntu Server updates the Linux kernel to 5.4.0-104, it no longer boots and gets stuck at `EFI stub: Exiting boot services and installing virtual address map...`. This is not the case with QEMU 6.0.0 (with @agraf's HVF patches applied). It seems like 5.4.0-104 is the culprit because 5.4.0-100 boots fine. Steps to reproduce: 1. Download Ubuntu Server 20.04 ARM64 ISO: https://ubuntu.com/download/server/arm 2. Run the above QEMU command (make sure networking is disabled so Ubuntu installer does not auto-upgrade the kernel) 3. Install Ubuntu with the default settings and reboot 4. It will not reboot (expected) so Ctrl+C and restart the command adding `-device virtio-net-pci,netdev=net0 -netdev user,id=net0` to the end to get networking 5. Boot into Ubuntu and install 5.4.0-104 kernel: `sudo apt install linux-image-5.4.0-104-generic` 6. Reboot and it will get stuck at `EFI stub: Exiting boot services and installing virtual address map...` Additional information: ![image](/uploads/5151ce8ae43911f503411902d330470c/image.png)