Problems Testing UEFI APIs Using QEMU OVMF and GNU-EFI

In this blog I discuss problems testing UEFI APIs using QEMU and the UEFI OVMF. In particular I discuss non volatile variables, the QueryVariableInfo runtime service and the changes I have to make to the existing GNU-EFI header files in order to compile a simple application using this runtime service.