nbd: Share common option-sending code in client
[qemu.git] / stubs / migration-colo.c
blob7811764c4b28bc66b16a3f1d86b561c7b191322e
1 /*
2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO)
3 * (a.k.a. Fault Tolerance or Continuous Replication)
5 * Copyright (c) 2016 HUAWEI TECHNOLOGIES CO., LTD.
6 * Copyright (c) 2016 FUJITSU LIMITED
7 * Copyright (c) 2016 Intel Corporation
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.
13 #include "qemu/osdep.h"
14 #include "migration/colo.h"
15 #include "qmp-commands.h"
17 bool colo_supported(void)
19 return false;
22 bool migration_in_colo_state(void)
24 return false;
27 bool migration_incoming_in_colo_state(void)
29 return false;
32 void migrate_start_colo_process(MigrationState *s)
36 void *colo_process_incoming_thread(void *opaque)
38 return NULL;
41 void qmp_x_colo_lost_heartbeat(Error **errp)
43 error_setg(errp, "COLO is not supported, please rerun configure"
44 " with --enable-colo option in order to support"
45 " COLO feature");