• L
    runstate: Allow user to migrate twice · 8a9236f1
    Luiz Capitulino 提交于
    It should be a matter of allowing the transition POSTMIGRATE ->
    FINISH_MIGRATE, but it turns out that the VM won't do the
    transition the second time because it's already stopped.
    
    So this commit also adds vm_stop_force_state() which performs
    the transition even if the VM is already stopped.
    
    While there also allow other states to migrate.
    Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
    8a9236f1
vl.c 99.5 KB