[Libvirt-cim] [PATCH] This patch changes the status message generated when a live migration cannot be executed because the domain isn't in the live/resume state

Richard Maciel rmaciel at linux.vnet.ibm.com
Tue Apr 7 19:30:10 UTC 2009


# HG changeset patch
# User Richard Maciel <rmaciel at linux.vnet.ibm.com>
# Date 1239131809 10800
# Node ID c940cdadd76903db3f4970624890978fb934a898
# Parent  e5aee0f0edc128d41148ec4cedaba2bdd53cf05e
This patch changes the status message generated when a live migration cannot be executed because the domain isn't in the live/resume state

Signed-off-by: Richard Maciel <rmaciel at linux.vnet.ibm.com>

diff -r e5aee0f0edc1 -r c940cdadd769 src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c	Tue Mar 31 14:04:39 2009 -0700
+++ b/src/Virt_VSMigrationService.c	Tue Apr 07 16:16:49 2009 -0300
@@ -960,7 +960,8 @@
         if ((const int)info.state == VIR_DOMAIN_SHUTOFF) {
                 cu_statusf(_BROKER, &s,
                            CMPI_RC_ERR_INVALID_PARAMETER,
-                           "Domain must not be shut off for live migration");
+                           "Domain must be running for live \
+                           or resume migration");
                 goto out;
         }
 




More information about the Libvirt-cim mailing list