blob: 015781955924175c6627cf71c204f108ad08c895 [file] [log] [blame]
David 'Digit' Turner5d8f37a2009-09-14 14:32:27 -07001/*
2 * QEMU live migration
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
11 *
12 */
13
14#include "qemu-common.h"
David 'Digit' Turner28a09b62013-12-15 00:16:00 +010015#include "migration/migration.h"
David 'Digit' Turner6af67652013-12-14 23:49:32 +010016#include "monitor/monitor.h"
David 'Digit' Turner34c48ff2013-12-15 00:25:03 +010017#include "sysemu/sysemu.h"
David 'Digit' Turnere1e03df2013-12-15 00:42:21 +010018#include "block/block.h"
David 'Digit' Turnerd0edecb2013-12-17 09:32:26 +010019#include "qemu/sockets.h"
David 'Digit' Turner5d8f37a2009-09-14 14:32:27 -070020
21//#define DEBUG_MIGRATION
22
23#ifdef DEBUG_MIGRATION
24#define dprintf(fmt, ...) \
25 do { printf("migration: " fmt, ## __VA_ARGS__); } while (0)
26#else
27#define dprintf(fmt, ...) \
28 do { } while (0)
29#endif
30
31void qemu_start_incoming_migration(const char *uri)
32{
33 fprintf(stderr, "migration not supported !!\n");
34}
35
36void do_migrate(Monitor *mon, int detach, const char *uri)
37{
38 return;
39}
40
41void do_migrate_cancel(Monitor *mon)
42{
43 return;
44}
45
46void do_migrate_set_speed(Monitor *mon, const char *value)
47{
48 return;
49}
50
51uint64_t migrate_max_downtime(void)
52{
53 return 0;
54}
55
56void do_migrate_set_downtime(Monitor *mon, const char *value)
57{
58 return;
59}
60
61void do_info_migrate(Monitor *mon)
62{
63 monitor_printf(mon, "No Migration support\n");
64}