aboutsummaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-04-05 21:27:54 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-04-15 08:26:18 +0200
commit05fcc84888cfabec2267851415b66395a73a0f5f (patch)
tree62416f941e2ab9de336733c22d3619e30c3dfbdd /include/migration
parentcf8074b3825f7229a20c60e679511592bde41340 (diff)
downloadqemu-05fcc84888cfabec2267851415b66395a73a0f5f.zip
qemu-05fcc84888cfabec2267851415b66395a73a0f5f.tar.gz
qemu-05fcc84888cfabec2267851415b66395a73a0f5f.tar.bz2
savevm: Implement block_writev_buffer()
Instead of breaking up RAM state into many small chunks, pass the iovec to the block layer for better performance. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r--include/migration/qemu-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h
index 623c434..7519464 100644
--- a/include/migration/qemu-file.h
+++ b/include/migration/qemu-file.h
@@ -55,7 +55,7 @@ typedef int (QEMUFileGetFD)(void *opaque);
* This function writes an iovec to file.
*/
typedef ssize_t (QEMUFileWritevBufferFunc)(void *opaque, struct iovec *iov,
- int iovcnt);
+ int iovcnt, int64_t pos);
typedef struct QEMUFileOps {
QEMUFilePutBufferFunc *put_buffer;