migration: postcopy take proper error return
[qemu.git] / include / migration / global_state.h
blob945eb35d5b616e30317099cdb22360814fb2ce32
1 /*
2 * Global State configuration
4 * Copyright (c) 2014-2017 Red Hat Inc
6 * Authors:
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"
18 void register_global_state(void);
19 int global_state_store(void);
20 void global_state_store_running(void);
21 bool global_state_received(void);
22 RunState global_state_get_runstate(void);
24 #endif