1 /* 2 * Global State configuration 3 * 4 * Copyright (c) 2014-2017 Red Hat Inc 5 * 6 * Authors: 7 * Juan Quintela <quintela@redhat.com> 8 * 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. 11 */ 12 13 #ifndef QEMU_MIGRATION_GLOBAL_STATE_H 14 #define QEMU_MIGRATION_GLOBAL_STATE_H 15 16 #include "qapi/qapi-types-run-state.h" 17 #include "sysemu/sysemu.h" 18 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); 24 25 #endif 26