libvirt/src/remote
Daniel Hansel e914dcfdaa rpc: message related sizes enlarged
We have seen an issue on s390x platform where domain XMLs larger than 1MB
were used. The define command was finished successfully. The dumpxml command
was not successful (i.e. could not encode message payload).

Enlarged message related sizes (e.g. maximum string size, message size, etc.)
to handle larger system configurations used on s390x platform.

To improve handling of the RPC message size the allocation during encode process
is changed to a dynamic one (i.e. starting with 64kB initial size and increasing
that size in steps up to 16MB if the payload data is larger).

Signed-off-by: Daniel Hansel <daniel.hansel@linux.vnet.ibm.com>
Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
2013-05-07 13:29:58 +02:00
..
lxc_protocol.x Switch to a more extensible annotation system for RPC protocols 2013-04-23 11:24:17 +01:00
qemu_protocol.x Make naming of remote procedures match API names exactly 2013-04-24 10:33:10 +01:00
remote_driver.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
remote_driver.h cleanup: Don't include libvirt/virterror.h 2013-04-17 15:54:07 +08:00
remote_protocol.x rpc: message related sizes enlarged 2013-05-07 13:29:58 +02:00