2 * Global State configuration
4 * Copyright (c) 2014-2017 Red Hat Inc
7 * Juan Quintela <quintela@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
13 #ifndef QEMU_MIGRATION_GLOBAL_STATE_H
14 #define QEMU_MIGRATION_GLOBAL_STATE_H
16 #include "qapi/qapi-types-run-state.h"
17 #include "sysemu/sysemu.h"
19 void register_global_state(void);
20 int global_state_store(void);
21 void global_state_store_running(void);
22 bool global_state_received(void);
23 RunState
global_state_get_runstate(void);