Re: [Qemu-devel] [PATCH 4/5] migration: size_t'ify some of qemu-file

2015-09-15 Thread Amit Shah
On (Thu) 13 Aug 2015 [11:51:33], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > This is a start on using size_t more in qemu-file and friends; > it fixes up QEMUFilePutBufferFunc and QEMUFileGetBufferFunc > to take size_t lengths and return ssize_t return values (like re

Re: [Qemu-devel] [PATCH 4/5] migration: size_t'ify some of qemu-file

2015-08-13 Thread zhanghailiang
On 2015/8/13 18:51, Dr. David Alan Gilbert (git) wrote: From: "Dr. David Alan Gilbert" This is a start on using size_t more in qemu-file and friends; it fixes up QEMUFilePutBufferFunc and QEMUFileGetBufferFunc to take size_t lengths and return ssize_t return values (like read(2)) and fixes up a

[Qemu-devel] [PATCH 4/5] migration: size_t'ify some of qemu-file

2015-08-13 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" This is a start on using size_t more in qemu-file and friends; it fixes up QEMUFilePutBufferFunc and QEMUFileGetBufferFunc to take size_t lengths and return ssize_t return values (like read(2)) and fixes up all the different implementations of them. Note that I've