Re: [libvirt] [PATCH] rpc: improve error message for bounds check

2017-05-11 Thread Kashyap Chamarthy
On Thu, May 11, 2017 at 11:25:02AM +0100, Daniel P. Berrange wrote: > If we exceed a fixed limit in RPC code we get a horrible message > like this, if the parameter type is a 'string', because we forgot > to initialize the error message type field: > > $ virsh snapshot-list ostack1 > error: to

Re: [libvirt] [PATCH] rpc: improve error message for bounds check

2017-05-11 Thread Michal Privoznik
On 05/11/2017 12:25 PM, Daniel P. Berrange wrote: > If we exceed a fixed limit in RPC code we get a horrible message > like this, if the parameter type is a 'string', because we forgot > to initialize the error message type field: > > $ virsh snapshot-list ostack1 > error: too many remote unde

[libvirt] [PATCH] rpc: improve error message for bounds check

2017-05-11 Thread Daniel P. Berrange
If we exceed a fixed limit in RPC code we get a horrible message like this, if the parameter type is a 'string', because we forgot to initialize the error message type field: $ virsh snapshot-list ostack1 error: too many remote undefineds: 1329 > 1024 It would also be useful to know which RPC