Re: [Xen-devel] [PATCH] libxl: memory size in kb requires 64 bit variable

2016-07-21 Thread Juergen Gross
On 21/07/16 17:55, Ian Jackson wrote: > Juergen Gross writes ("[PATCH] libxl: memory size in kb requires 64 bit > variable"): >> libxl_set_memory_target() and several other interface functions of >> libxl use a 32 bit sized parameter for a memory size value in kBytes. >> This limits the maximum si

Re: [Xen-devel] [PATCH] libxl: memory size in kb requires 64 bit variable

2016-07-21 Thread Ian Jackson
Juergen Gross writes ("[PATCH] libxl: memory size in kb requires 64 bit variable"): > libxl_set_memory_target() and several other interface functions of > libxl use a 32 bit sized parameter for a memory size value in kBytes. > This limits the maximum size to be passed in such a parameter > dependi

[Xen-devel] [PATCH] libxl: memory size in kb requires 64 bit variable

2016-07-21 Thread Juergen Gross
libxl_set_memory_target() and several other interface functions of libxl use a 32 bit sized parameter for a memory size value in kBytes. This limits the maximum size to be passed in such a parameter depending on signedness of the parameter to 2TB or 4TB. Correct this by using 64 bit types. Signed