]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remote generator: Increase upper limit on lists of node devices
authorBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Fri, 10 Feb 2017 13:56:51 +0000 (14:56 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Feb 2017 15:05:24 +0000 (16:05 +0100)
On a system with 697 SCSI disks each configured with 8 paths the command
virsh nodedev-list fails with
error: Failed to list node devices
error: internal error: Too many node_devices '16816' for limit '16384'
Increasing the upper limit on lists of node devices from 16K to 64K.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
src/remote/remote_protocol.x

index 68469a5b1f4909c637b3886a0b692b39a684acb7..cd0a14cc69c8d06154a61ca555f58bccf67783c4 100644 (file)
@@ -86,7 +86,7 @@ const REMOTE_STORAGE_POOL_LIST_MAX = 4096;
 const REMOTE_STORAGE_VOL_LIST_MAX = 16384;
 
 /* Upper limit on lists of node devices. */
-const REMOTE_NODE_DEVICE_LIST_MAX = 16384;
+const REMOTE_NODE_DEVICE_LIST_MAX = 65536;
 
 /* Upper limit on lists of node device capabilities. */
 const REMOTE_NODE_DEVICE_CAPS_LIST_MAX = 65536;