OSDN Git Service

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