xref: /openbmc/qemu/migration/colo-stubs.c (revision c365e6b0)
1 #include "qemu/osdep.h"
2 #include "qemu/notify.h"
3 #include "net/colo-compare.h"
4 #include "migration/colo.h"
5 #include "qemu/error-report.h"
6 #include "qapi/qapi-commands-migration.h"
7 
8 void colo_shutdown(void)
9 {
10 }
11 
12 int coroutine_fn colo_incoming_co(void)
13 {
14     return 0;
15 }
16 
17 void colo_checkpoint_delay_set(void)
18 {
19 }
20 
21 void migrate_start_colo_process(MigrationState *s)
22 {
23     error_report("Impossible happened: trying to start COLO when COLO "
24                  "module is not built in");
25     abort();
26 }
27 
28 bool migration_in_colo_state(void)
29 {
30     return false;
31 }
32 
33 bool migration_incoming_in_colo_state(void)
34 {
35     return false;
36 }
37