blob: dce8b812205afd0acb65eec254f9bb2540ab6131 [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"
15#include "migration.h"
David 'Digit' Turner6af67652013-12-14 23:49:32 +010016#include "monitor/monitor.h"
David 'Digit' Turner5d8f37a2009-09-14 14:32:27 -070017#include "buffered_file.h"
18#include "sysemu.h"
19#include "block.h"
20#include "qemu_socket.h"
21
22//#define DEBUG_MIGRATION
23
24#ifdef DEBUG_MIGRATION
25#define dprintf(fmt, ...) \
26 do { printf("migration: " fmt, ## __VA_ARGS__); } while (0)
27#else
28#define dprintf(fmt, ...) \
29 do { } while (0)
30#endif
31
32void qemu_start_incoming_migration(const char *uri)
33{
34 fprintf(stderr, "migration not supported !!\n");
35}
36
37void do_migrate(Monitor *mon, int detach, const char *uri)
38{
39 return;
40}
41
42void do_migrate_cancel(Monitor *mon)
43{
44 return;
45}
46
47void do_migrate_set_speed(Monitor *mon, const char *value)
48{
49 return;
50}
51
52uint64_t migrate_max_downtime(void)
53{
54 return 0;
55}
56
57void do_migrate_set_downtime(Monitor *mon, const char *value)
58{
59 return;
60}
61
62void do_info_migrate(Monitor *mon)
63{
64 monitor_printf(mon, "No Migration support\n");
65}