# HG changeset patch
# User Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
# Date 1239152083 10800
# Node ID 3b7ba02cd34a4b91903e4d412fc7d5dd75779598
# Parent e5aee0f0edc128d41148ec4cedaba2bdd53cf05e
(#2)This patch changes the status message generated when a live migration cannot be
executed because the domain isn't in the live/resume state
2:
- Formatted string correctly
Signed-off-by: Richard Maciel <rmaciel(a)linux.vnet.ibm.com>
diff -r e5aee0f0edc1 -r 3b7ba02cd34a 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 21:54:43 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;
}
Show replies by date