[PATCH V2 06/20] qemu: Add function to get migration params for save