runstate: add runstate_get()
commit242b74eb69d0e53b25e294331a192b7a458b8e46
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 17 May 2023 12:37:48 +0000 (17 15:37 +0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 1 Jun 2023 23:03:19 +0000 (2 01:03 +0200)
tree4201a463dac8bd7d237550ba6c4c2954f2d3272a
parent9eb400cdd7b0940bd696aa01462dd53004ae04e9
runstate: add runstate_get()

It's necessary to restore the state after failed/cancelled migration in
further commit.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230517123752.21615-2-vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/sysemu/runstate.h
softmmu/runstate.c