Michael S. Tsirkin wrote:
From a quick overview, I see register memory but no unregister?
There's no cpu_unregister_physical_memory() in qemu. Devices can unregister an io memory type but this is not io memory, this is ram.
We should qemu_ram_free() though. Regards, Anthony Liguori