aboutsummaryrefslogtreecommitdiff
path: root/qemu-tool.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-14 15:09:47 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-21 14:58:48 -0600
commit1ed520c66e3f3b57b88d201c08558ec1616bf69d (patch)
tree806c590f41a6872f17dcdde827e7632aead4bd7a /qemu-tool.c
parent06d9260ffa9dfa0e96e015501e43480ab66f96f6 (diff)
downloadqemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.zip
qemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.tar.gz
qemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.tar.bz2
qed: add migration blocker (v2)
Now when you try to migrate with qed, you get: (qemu) migrate tcp:localhost:1025 Block format 'qed' used by device 'ide0-hd0' does not support feature 'live migration' (qemu) Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-tool.c')
-rw-r--r--qemu-tool.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu-tool.c b/qemu-tool.c
index e9f7fe1..5df7279 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -15,6 +15,7 @@
#include "monitor.h"
#include "qemu-timer.h"
#include "qemu-log.h"
+#include "migration.h"
#include <sys/time.h>
@@ -92,3 +93,11 @@ int64_t qemu_get_clock_ns(QEMUClock *clock)
{
return 0;
}
+
+void migrate_add_blocker(Error *reason)
+{
+}
+
+void migrate_del_blocker(Error *reason)
+{
+}