OVMF, open virtual machine firmware, is project from EDK-II which to support UEFI for virtual machines. It contains a sample firmware for QEMU and KVM