savevm: split save_live_setup from save_live_state
authorJuan Quintela <quintela@redhat.com>
Thu, 28 Jun 2012 13:11:57 +0000 (15:11 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 20 Jul 2012 06:19:27 +0000 (08:19 +0200)
commitd1315aac6e4df1f472a6f87ef6e310b8c109f498
treef8cdca807d155698e2399306dbec7892b363dd9b
parent6bd68781331590c4f2fbd1fdf98e80d7f6588b31
savevm: split save_live_setup from save_live_state

This patch splits stage 1 to its own function for both save_live
users, ram and block.  It is just a copy of the function, removing the
parts of the other stages.  Optimizations would came later.

Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c
block-migration.c
savevm.c
vmstate.h