43fe83
From 3d00a43e50674c1d2c4c512101f99d2a3526f22c Mon Sep 17 00:00:00 2001
43fe83
Message-Id: <3d00a43e50674c1d2c4c512101f99d2a3526f22c.1380703761.git.jdenemar@redhat.com>
43fe83
From: Jiri Denemark <jdenemar@redhat.com>
43fe83
Date: Fri, 27 Sep 2013 13:06:06 +0200
43fe83
Subject: [PATCH] rpc: Increase bound limit for virDomainGetJobStats
43fe83
43fe83
https://bugzilla.redhat.com/show_bug.cgi?id=1012818
43fe83
43fe83
Commit 6d7d0b1869ed293e3208d11f375cecea0129dfc5 (in 1.1.2) added bounds
43fe83
checking to virDomainGetJobStats. But even at that time the API was able
43fe83
to return 20 parameters while the limit was set to 16.
43fe83
43fe83
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
43fe83
(cherry picked from commit f25a08747de3589605f7f288cec61e0c182fbb7f)
43fe83
---
43fe83
 src/remote/remote_protocol.x | 2 +-
43fe83
 1 file changed, 1 insertion(+), 1 deletion(-)
43fe83
43fe83
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
43fe83
index 85ad9ba..a8450b1 100644
43fe83
--- a/src/remote/remote_protocol.x
43fe83
+++ b/src/remote/remote_protocol.x
43fe83
@@ -230,7 +230,7 @@ const REMOTE_NODE_MEMORY_PARAMETERS_MAX = 64;
43fe83
 const REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX = 64;
43fe83
 
43fe83
 /* Upper limit on number of job stats */
43fe83
-const REMOTE_DOMAIN_JOB_STATS_MAX = 16;
43fe83
+const REMOTE_DOMAIN_JOB_STATS_MAX = 64;
43fe83
 
43fe83
 /* UUID.  VIR_UUID_BUFLEN definition comes from libvirt.h */
43fe83
 typedef opaque remote_uuid[VIR_UUID_BUFLEN];
43fe83
-- 
43fe83
1.8.3.2
43fe83