[PATCH v1 00/25] migration code cleanups + kbase document