1. A method, comprising: receiving, by a processor, a plurality of transformed memory blocks, each transformed memory block comprising one or more memory pages mapped into an address space of a virtual machine being migrated to a computer system associated with the processor; storing, in a memory data structure, a mapping comprising a guest virtual address of a memory page and an identifier of a transformed memory block containing the memory page; responsive to detecting an access to the memory page by the virtual machine, identifying, using the memory data structure, the transformed memory block containing the memory page being accessed; storing, by the processor, in a memory mapped into the address space of the virtual machine, the memory page produced by performing a reverse transformation of the transformed memory block; and removing the mapping from the memory data structure responsive to performing the reverse transformation of the transformed memory block.