Il 21/03/2013 13:50, Orit Wasserman ha scritto: > On 03/21/2013 01:14 PM, Michael S. Tsirkin wrote: >> On Thu, Mar 21, 2013 at 01:10:40PM +0200, Orit Wasserman wrote: >>> On 03/21/2013 11:56 AM, Paolo Bonzini wrote: >>>> Il 21/03/2013 10:09, Orit Wasserman ha scritto: >>>>> All data is still copied into the static buffer. >>>>> >>>>> Signed-off-by: Orit Wasserman <owass...@redhat.com> >>>>> --- >>>>> savevm.c | 13 +++++++++++-- >>>>> 1 file changed, 11 insertions(+), 2 deletions(-) >>>>> >>>>> diff --git a/savevm.c b/savevm.c >>>>> index ec64533..d5834ca 100644 >>>>> --- a/savevm.c >>>>> +++ b/savevm.c >>>>> @@ -114,6 +114,7 @@ void qemu_announce_self(void) >>>>> /* savevm/loadvm support */ >>>>> >>>>> #define IO_BUF_SIZE 32768 >>>>> +#define MAX_IOV_SIZE 64 >>>> >>>> You could use IOV_MAX, or min(IOV_MAX, 64). > > Paolo, are you ok with leaving it MIN(IOV_MAX, 64) at the moment?
Of course! (When I use "..." it means "I don't expect you to do that..." :)). Paolo