Juan Quintela <quint...@redhat.com> wrote: > Hi Hi Kevin and Stefan, I intended to cc you on this series.
Is this what you were asking for block layer migration? Do you need anything else? Thanks, Juan. > This series make: > - use of cleanup/save methods generic, not only for save_live methods > - create the equivalent methods for the load side (load_setup/cleanup) > - Make ram use this methods to see how/when they are used. > > Stefan, Kevin, this were the methods that you asked for the block.c > migration, right? Please, comment if they are enough for you. > > This are on top of the ramstate_dynamic series that I just posted. > > Please, review. > > Later, Juan. > > Juan Quintela (5): > migration: Rename save_live_setup() to save_setup() > migration: Rename cleanup() to save_cleanup() > migration: Create load_setup()/cleanup() methods > migration: Convert ram to use new load_setup()/load_cleanup() > migration: Make compression_threads use save/load_setup/cleanup() > > hw/ppc/spapr.c | 4 +-- > include/migration/register.h | 6 ++-- > migration/block.c | 4 +-- > migration/migration.c | 8 ------ > migration/ram.c | 66 > ++++++++++++++++++++++++++++++-------------- > migration/ram.h | 6 ---- > migration/savevm.c | 41 +++++++++++++++++++++++---- > 7 files changed, 89 insertions(+), 46 deletions(-)