Use writev ops if available
commitcb88aa88d7e96cd12328915b33bf4a1bc054aa3f
authorOrit Wasserman <owasserm@redhat.com>
Fri, 22 Mar 2013 14:48:01 +0000 (22 16:48 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 26 Mar 2013 12:32:33 +0000 (26 13:32 +0100)
tree4b0a457080ff41850f96f0cd4f66000dcc357226
parentb3ea2bdb792f6d961ba3adf45cf1f0c63c61e09d
Use writev ops if available

Update qemu_fflush and stdio_close to use writev ops if they are available
Use the buffers stored in the iovec.

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
savevm.c