Added support for cold & live migrations

This adds out of the box support for cold and live migrations
so that everything works just fine without any manual intervention.

Sem-Ver: feature
Change-Id: Ic421cd4f09231c18a3f304826af142ba81dae871
5 files changed