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