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