On Wed, Feb 28, 2024 at 12:21:25PM -0300, Fabiano Rosas wrote: > For the incoming mapped-ram migration we need to read the ramblock > headers, get the pages bitmap and send the host address of each > non-zero page to the multifd channel thread for writing. > > Usage on HMP is: > > (qemu) migrate_set_capability multifd on > (qemu) migrate_set_capability mapped-ram on > (qemu) migrate_incoming file:migfile > > (the ram.h include needs to move because we've been previously relying > on it being included from migration.c. Now file.h will start including > multifd.h before migration.o is processed) > > Signed-off-by: Fabiano Rosas <[email protected]>
Reviewed-by: Peter Xu <[email protected]> -- Peter Xu
