[libvirt] [PATCH] remote: Make Upper limit on list of memory parameters to 64

Nitesh Konkar niteshkonkar.libvirt at gmail.com
Thu Mar 16 10:53:51 UTC 2017


'virsh perf domain' errors out as the number of perf
events now exceeds the previous memory parameter limit
of 16. The fix is to  set it to 64, as the upper limit
on list of perf events, is also set to the same.

Signed-off-by: Nitesh Konkar <nitkon12 at linux.vnet.ibm.com>
---
 src/remote/remote_protocol.x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index abe63af..fd6f3af 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -101,7 +101,7 @@ const REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX = 16;
 const REMOTE_DOMAIN_BLKIO_PARAMETERS_MAX = 16;
 
 /* Upper limit on list of memory parameters. */
-const REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX = 16;
+const REMOTE_DOMAIN_MEMORY_PARAMETERS_MAX = 64;
 
 /* Upper limit on list of blockio tuning parameters. */
 const REMOTE_DOMAIN_BLOCK_IO_TUNE_PARAMETERS_MAX = 32;
-- 
1.9.3




More information about the libvir-list mailing list