Blob Blame History Raw
From 2d6ff1624302b4d274cfda4846f6ca261e3b9a47 Mon Sep 17 00:00:00 2001
Message-Id: <2d6ff1624302b4d274cfda4846f6ca261e3b9a47.1386932211.git.jdenemar@redhat.com>
From: Martin Kletzander <mkletzan@redhat.com>
Date: Tue, 10 Dec 2013 10:03:57 +0100
Subject: [PATCH] qemu: Fix minor inconsistency in error message

https://bugzilla.redhat.com/show_bug.cgi?id=1024272

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
(cherry picked from commit 8d7c668e64b5bcd2d08aa5057c9aff43d1f73dfd)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/qemu/qemu_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 939c8a0..8b34010 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -8210,7 +8210,7 @@ qemuDomainSetMemoryParameters(virDomainPtr dom,
         if (virCompareLimitUlong(mem_limit, swap_limit) > 0) {
             virReportError(VIR_ERR_INVALID_ARG, "%s",
                            _("memory hard_limit tunable value must be lower "
-                             "than swap_hard_limit"));
+                             "than or equal to swap_hard_limit"));
             goto cleanup;
         }
     }
-- 
1.8.5.1