runstate: Allow to transition from paused to postmigrate
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 13 Oct 2011 17:39:59 +0000 (14:39 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 19 Oct 2011 12:48:57 +0000 (10:48 -0200)
commitee21cb5f1db20ae449d2b59130fd6b7bdc8a6e4b
tree39ed9e94bf5297fa18015232918a85792b6ad565
parent207c5cd20c15244b7747cacf45b8dc1fd27deaa4
runstate: Allow to transition from paused to postmigrate

The user may already have paused the VM before starting the
migration process. If s/he does that, then the state will be
'paused' when we finish the migration process. In that case
we want to transition from 'paused' to 'postmigrate' as the
latter is now the real reason why the VM is stopped.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
vl.c