[libvirt] [PATCHv2 4/7] phyp: Fix error messages mentioning memory
Peter Krempa
pkrempa at redhat.com
Wed Feb 25 10:22:03 UTC 2015
The messages for currentMemory and memory were swapped.
---
Notes:
Version 2:
- new in series
src/phyp/phyp_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index c1d6eb2..a1e390d 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -3488,14 +3488,14 @@ phypBuildLpar(virConnectPtr conn, virDomainDefPtr def)
if (!def->mem.cur_balloon) {
virReportError(VIR_ERR_XML_ERROR, "%s",
- _("Field <memory> on the domain XML file is missing or has "
+ _("Field <currentMemory> on the domain XML file is missing or has "
"invalid value."));
goto cleanup;
}
if (!virDomainDefGetMemoryInitial(def)) {
virReportError(VIR_ERR_XML_ERROR, "%s",
- _("Field <currentMemory> on the domain XML file is missing or "
+ _("Field <memory> on the domain XML file is missing or "
"has invalid value."));
goto cleanup;
}
--
2.2.2
More information about the libvir-list
mailing list