render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
c401cc
From 2d6ff1624302b4d274cfda4846f6ca261e3b9a47 Mon Sep 17 00:00:00 2001
c401cc
Message-Id: <2d6ff1624302b4d274cfda4846f6ca261e3b9a47.1386932211.git.jdenemar@redhat.com>
c401cc
From: Martin Kletzander <mkletzan@redhat.com>
c401cc
Date: Tue, 10 Dec 2013 10:03:57 +0100
c401cc
Subject: [PATCH] qemu: Fix minor inconsistency in error message
c401cc
c401cc
https://bugzilla.redhat.com/show_bug.cgi?id=1024272
c401cc
c401cc
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
c401cc
(cherry picked from commit 8d7c668e64b5bcd2d08aa5057c9aff43d1f73dfd)
c401cc
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c401cc
---
c401cc
 src/qemu/qemu_driver.c | 2 +-
c401cc
 1 file changed, 1 insertion(+), 1 deletion(-)
c401cc
c401cc
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
c401cc
index 939c8a0..8b34010 100644
c401cc
--- a/src/qemu/qemu_driver.c
c401cc
+++ b/src/qemu/qemu_driver.c
c401cc
@@ -8210,7 +8210,7 @@ qemuDomainSetMemoryParameters(virDomainPtr dom,
c401cc
         if (virCompareLimitUlong(mem_limit, swap_limit) > 0) {
c401cc
             virReportError(VIR_ERR_INVALID_ARG, "%s",
c401cc
                            _("memory hard_limit tunable value must be lower "
c401cc
-                             "than swap_hard_limit"));
c401cc
+                             "than or equal to swap_hard_limit"));
c401cc
             goto cleanup;
c401cc
         }
c401cc
     }
c401cc
-- 
c401cc
1.8.5.1
c401cc