Testing the edk2 SMM driver stack with QEMU, KVM & libvirt
Laszlo wrote an article over at the edk2 wiki about testing SMM with OVMF, in QEMU/KVM virtual machines managed by libvirt:
https://github.com/tianocore/tianocore.github.io/wiki/Testing-SMM-with-QEMU,-KVM-and-libvirt
The primary goal of the article is to help rapid development and testing of SMM-related firmware code (or any edk2 code in general).