[RFC PATCH v2 0/4] qemu: Implement support for EGM