aboutsummaryrefslogtreecommitdiff
path: root/stubs/colo.c
blob: cf9816d368ed106b9cf789e2848bd8985d742930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "qemu/osdep.h"
#include "qemu/notify.h"
#include "net/colo-compare.h"
#include "migration/colo.h"
#include "migration/migration.h"
#include "qemu/error-report.h"
#include "qapi/qapi-commands-migration.h"

void colo_shutdown(void)
{
}

void *colo_process_incoming_thread(void *opaque)
{
    error_report("Impossible happend: trying to start COLO thread when COLO "
                 "module is not built in");
    abort();
}

void colo_checkpoint_delay_set(void)
{
}

void migrate_start_colo_process(MigrationState *s)
{
    error_report("Impossible happend: trying to start COLO when COLO "
                 "module is not built in");
    abort();
}

bool migration_in_colo_state(void)
{
    return false;
}

bool migration_incoming_in_colo_state(void)
{
    return false;
}