1/* 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/migration.h" 16#include "monitor/monitor.h" 17#include "sysemu/sysemu.h" 18#include "block/block.h" 19#include "qemu/sockets.h" 20 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} 65