qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 7/7] do not allow migration if block copy in pro


From: Avi Kivity
Subject: Re: [Qemu-devel] [patch 7/7] do not allow migration if block copy in progress
Date: Sun, 29 May 2011 11:54:58 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10

On 05/24/2011 12:31 AM, Marcelo Tosatti wrote:
Signed-off-by: Marcelo Tosatti<address@hidden>

Index: qemu-block-copy/migration.c
===================================================================
--- qemu-block-copy.orig/migration.c
+++ qemu-block-copy/migration.c
@@ -19,6 +19,7 @@
  #include "block.h"
  #include "qemu_socket.h"
  #include "block-migration.h"
+#include "block-copy.h"
  #include "qemu-objects.h"

  //#define DEBUG_MIGRATION
@@ -95,6 +96,11 @@ int do_migrate(Monitor *mon, const QDict
          return -1;
      }

+    if (block_copy_active()) {
+        monitor_printf(mon, "block copy in progress\n");
+        return -1;
+    }
+

Changelog should state why the conflict exists.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]