Here's the script I used to reproduce it. Note that it is using KVM, so it needs to run natively on an arm64 system. The trusty image I used is just a download from cloud-images.ubuntu.com. But you could just use an empty file for that since the hang occurs way before the disk would be accessed.
** Attachment added: "testit.sh" https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1489560/+attachment/4455135/+files/testit.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1489560 Title: qemu-efi: hangs in kvm mode when built w/ gcc-5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1489560/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs