[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
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Wed Apr 8 00:32:39 UTC 2009
> @@ -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;
Can you quote the string like the following:
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_INVALID_PARAMETER,
"Domain must be running for live "
"or resume migration");
Otherwise, the error message is formatted like the following:
'Domain must be running for live or resume
migration'
'Domain must be running for live or resume migration'
Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list