xref: /openbmc/qemu/migration/colo-stubs.c (revision ee48fef0)
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 void coroutine_fn colo_incoming_co(void)
13 {
14 }
15 
16 void colo_checkpoint_delay_set(void)
17 {
18 }
19 
20 void migrate_start_colo_process(MigrationState *s)
21 {
22     error_report("Impossible happened: trying to start COLO when COLO "
23                  "module is not built in");
24     abort();
25 }
26 
27 bool migration_in_colo_state(void)
28 {
29     return false;
30 }
31 
32 bool migration_incoming_in_colo_state(void)
33 {
34     return false;
35 }
36