global_state.h (571B)
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 18void register_global_state(void); 19int global_state_store(void); 20void global_state_store_running(void); 21bool global_state_received(void); 22RunState global_state_get_runstate(void); 23 24#endif