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)
commitad8e96e16685d9c3eebeb8f2589a69d564abab7b
tree39ed9e94bf5297fa18015232918a85792b6ad565
parenta075559fb45d9f69c1ff91b0022e59249d5a95db
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