Change in vdsm[master]: migration: move params handling in a method