On 03/21/2013 12:34 PM, Orit Wasserman wrote: > This way we send one big buffer instead of many small ones > > Signed-off-by: Orit Wasserman <owass...@redhat.com> > --- > savevm.c | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-) > > diff --git a/savevm.c b/savevm.c > index b024354..9e8ddee 100644 > --- a/savevm.c > +++ b/savevm.c > @@ -622,6 +622,18 @@ int qemu_fclose(QEMUFile *f) > return ret; > } > > +static void add_to_iovec(QEMUFile *f, const uint8_t *buf, int size) > +{ > + /* check for adjoint buffer and colasce them */
s/adjoint/adjacent/ s/colasce/coalesce/ -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature