]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpc: Increase bound limit for virDomainGetJobStats
authorJiri Denemark <jdenemar@redhat.com>
Fri, 27 Sep 2013 08:48:02 +0000 (10:48 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 27 Sep 2013 10:56:13 +0000 (12:56 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1012818

Commit 6d7d0b1869ed293e3208d11f375cecea0129dfc5 (in 1.1.2) added bounds
checking to virDomainGetJobStats. But even at that time the API was able
to return 20 parameters while the limit was set to 16.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/remote/remote_protocol.x

index 8d17badb27012befee2e0a3df35ee33ad8bab82e..810eeca5150f4d5b075bda1dff84eb35b9391e3a 100644 (file)
@@ -230,7 +230,7 @@ const REMOTE_NODE_MEMORY_PARAMETERS_MAX = 64;
 const REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX = 64;
 
 /* Upper limit on number of job stats */
-const REMOTE_DOMAIN_JOB_STATS_MAX = 16;
+const REMOTE_DOMAIN_JOB_STATS_MAX = 64;
 
 /* Upper limit on number of CPU models */
 const REMOTE_CONNECT_CPU_MODELS_MAX = 8192;