qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] block-migration: deprecate block migration for the 1.2 release
@ 2012-08-14 13:32 Anthony Liguori
  2012-08-14 13:48 ` Kevin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Anthony Liguori @ 2012-08-14 13:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paolo Bonzini, Anthony Liguori, Stefan Hajnoczi

To be replaced with live block copy.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 migration.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/migration.c b/migration.c
index 653a3c1..babccf4 100644
--- a/migration.c
+++ b/migration.c
@@ -482,10 +482,19 @@ void qmp_migrate(const char *uri, bool has_blk, bool blk,
     MigrationParams params;
     const char *p;
     int ret;
+    static bool suppress_deprecation_message;
 
     params.blk = blk;
     params.shared = inc;
 
+    if (blk && !suppress_deprecation_message) {
+        qerror_report(ERROR_CLASS_GENERIC_ERROR,
+                      "Block migration is deprecated.  "
+                      "See http://wiki.qemu.org/Features/LiveBlockCopy "
+                      "for an alternative syntax.");
+        suppress_deprecation_message = true;
+    }
+
     if (s->state == MIG_STATE_ACTIVE) {
         error_set(errp, QERR_MIGRATION_ACTIVE);
         return;
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-08-20  8:47 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 13:32 [Qemu-devel] [PATCH] block-migration: deprecate block migration for the 1.2 release Anthony Liguori
2012-08-14 13:48 ` Kevin Wolf
2012-08-14 14:52   ` Luiz Capitulino
2012-08-14 15:02     ` Kevin Wolf
2012-08-14 15:48       ` Luiz Capitulino
2012-08-14 15:59         ` Kevin Wolf
2012-08-14 14:42 ` Stefan Hajnoczi
2012-08-15  8:12   ` Ruben Kerkhof
2012-08-15 12:38     ` Stefan Hajnoczi
2012-08-16  7:37       ` Ruben Kerkhof
2012-08-18 19:08       ` Paolo Bonzini
2012-08-19  8:13         ` Ruben Kerkhof
2012-08-20  8:23           ` Paolo Bonzini
2012-08-20  8:47             ` Ruben Kerkhof
2012-08-18 19:10   ` Paolo Bonzini
2012-08-14 14:49 ` Luiz Capitulino
2012-08-14 19:45   ` Anthony Liguori
2012-08-14 20:25     ` Markus Armbruster
2012-08-14 20:32       ` Luiz Capitulino
2012-08-14 20:26     ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).