Re: [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-04-20 Thread Blue Swirl
On Wed, Apr 17, 2013 at 9:46 AM, Paolo Bonzini wrote: > This uses system calls directly for Unix file descriptors, so that the > efficient writev_buffer can be used. Pay attention to the possibility > of partial writes in writev. > > Reviewed-by: Juan Quintela > Reviewed-by: Orit Wassermann > S

[Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-04-17 Thread Paolo Bonzini
This uses system calls directly for Unix file descriptors, so that the efficient writev_buffer can be used. Pay attention to the possibility of partial writes in writev. Reviewed-by: Juan Quintela Reviewed-by: Orit Wassermann Signed-off-by: Paolo Bonzini --- savevm.c | 101 +++

Re: [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-04-16 Thread Anthony Liguori
Paolo Bonzini writes: > This uses system calls directly for Unix file descriptors, so that the > efficient writev_buffer can be used. Pay attention to the possibility > of partial writes in writev. > > Signed-off-by: Paolo Bonzini Needs rebasing: CCi386-softmmu/savevm.o /home/aliguori/g

Re: [Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-04-09 Thread Juan Quintela
Paolo Bonzini wrote: > This uses system calls directly for Unix file descriptors, so that the > efficient writev_buffer can be used. Pay attention to the possibility > of partial writes in writev. > > Signed-off-by: Paolo Bonzini Reviewed-by: Juan Quintela > +static ssize_t unix_writev_buffer

[Qemu-devel] [PATCH 6/6] qemu-file: do not use stdio for qemu_fdopen

2013-03-27 Thread Paolo Bonzini
This uses system calls directly for Unix file descriptors, so that the efficient writev_buffer can be used. Pay attention to the possibility of partial writes in writev. Signed-off-by: Paolo Bonzini --- savevm.c | 100 --- 1 file chang