Peter Xu <pet...@redhat.com> wrote: > One less global variable, and it does only matter with migration. > > We keep the old "--only-migratable" option, but also now we support: > > -global migration.only-migratable=true > > Currently still keep the old interface. > > Hmm, now vl.c has no way to access migrate_get_current(). Export a > function for it to setup only_migratable. > > Signed-off-by: Peter Xu <pet...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> If you have to respin +void migration_only_migratable_set(bool only_migratable); + only is used with "true". I think that it is easier without parameter. But it is just a question of taste, so, as you are the one doing the code .... Later, Juan.