Re: [libvirt] [PATCH] virsh: domain: Use global constant for XML file size limit

2014-10-14 Thread Peter Krempa
On 10/14/14 10:25, Ján Tomko wrote: > On 10/14/2014 10:09 AM, Peter Krempa wrote: >> Few places still used hardcoded limit for maximum XML size for commands >> that accept XML files. The hardcoded limits ranged from 8k to 1M. Use >> VSH_MAX_XML_FILE to express this limit in a unified way. This will

Re: [libvirt] [PATCH] virsh: domain: Use global constant for XML file size limit

2014-10-14 Thread Ján Tomko
On 10/14/2014 10:09 AM, Peter Krempa wrote: > Few places still used hardcoded limit for maximum XML size for commands > that accept XML files. The hardcoded limits ranged from 8k to 1M. Use > VSH_MAX_XML_FILE to express this limit in a unified way. This will bump > the limit for the commands that u

[libvirt] [PATCH] virsh: domain: Use global constant for XML file size limit

2014-10-14 Thread Peter Krempa
Few places still used hardcoded limit for maximum XML size for commands that accept XML files. The hardcoded limits ranged from 8k to 1M. Use VSH_MAX_XML_FILE to express this limit in a unified way. This will bump the limit for the commands that used hardcoded string lengths to 10M. Resolves: http