pcie_aer: support configurable AER capa version
[qemu.git] / stubs / migration-colo.c
1 /*
2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
3 * (a.k.a. Fault Tolerance or Continuous Replication)
4 *
5 * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
6 * Copyright (c) 2016 FUJITSU LIMITED
7 * Copyright (c) 2016 Intel Corporation
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or
10 * later. See the COPYING file in the top-level directory.
11 */
12
13 #include "qemu/osdep.h"
14 #include "migration/colo.h"
15 #include "qmp-commands.h"
16
17 bool colo_supported(void)
18 {
19 return false;
20 }
21
22 bool migration_in_colo_state(void)
23 {
24 return false;
25 }
26
27 bool migration_incoming_in_colo_state(void)
28 {
29 return false;
30 }
31
32 void migrate_start_colo_process(MigrationState *s)
33 {
34 }
35
36 void *colo_process_incoming_thread(void *opaque)
37 {
38 return NULL;
39 }
40
41 void qmp_x_colo_lost_heartbeat(Error **errp)
42 {
43 error_setg(errp, "COLO is not supported, please rerun configure"
44 " with --enable-colo option in order to support"
45 " COLO feature");
46 }