Re: [PATCH v3 18/21] migration: Make no compression operations into its own structure

2020-01-24 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > "Dr. David Alan Gilbert" wrote: > > * Juan Quintela (quint...@redhat.com) wrote: > >> It will be used later. > >> > >> Signed-off-by: Juan Quintela > >> > > >> +int migrate_multifd_method(void) > >> +{ > >> +MigrationState *s; > >> + > >> +

Re: [PATCH v3 18/21] migration: Make no compression operations into its own structure

2020-01-24 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Juan Quintela (quint...@redhat.com) wrote: >> It will be used later. >> >> Signed-off-by: Juan Quintela >> >> +int migrate_multifd_method(void) >> +{ >> +MigrationState *s; >> + >> +s = migrate_get_current(); >> + >> +return s->parameters.multifd

Re: [PATCH v3 18/21] migration: Make no compression operations into its own structure

2020-01-24 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > It will be used later. > > Signed-off-by: Juan Quintela > > --- > Move setup of ->ops helper to proper place (wei) > Rename s/none/nocomp/ (dave) > Introduce MULTIFD_FLAG_NOCOMP > right order of arguments for print > --- > migration/migration.c |

[PATCH v3 18/21] migration: Make no compression operations into its own structure

2020-01-23 Thread Juan Quintela
It will be used later. Signed-off-by: Juan Quintela --- Move setup of ->ops helper to proper place (wei) Rename s/none/nocomp/ (dave) Introduce MULTIFD_FLAG_NOCOMP right order of arguments for print --- migration/migration.c | 9 +++ migration/migration.h | 1 + migration/multifd.c | 183