1 /* 2 * QEMU live migration 3 * 4 * Copyright IBM, Corp. 2008 5 * 6 * Authors: 7 * Anthony Liguori <aliguori (at) 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" 16 #include "monitor.h" 17 #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 32 void qemu_start_incoming_migration(const char *uri) 33 { 34 fprintf(stderr, "migration not supported !!\n"); 35 } 36 37 void do_migrate(Monitor *mon, int detach, const char *uri) 38 { 39 return; 40 } 41 42 void do_migrate_cancel(Monitor *mon) 43 { 44 return; 45 } 46 47 void do_migrate_set_speed(Monitor *mon, const char *value) 48 { 49 return; 50 } 51 52 uint64_t migrate_max_downtime(void) 53 { 54 return 0; 55 } 56 57 void do_migrate_set_downtime(Monitor *mon, const char *value) 58 { 59 return; 60 } 61 62 void do_info_migrate(Monitor *mon) 63 { 64 monitor_printf(mon, "No Migration support\n"); 65 } 66