diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 21:27:54 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-15 08:26:18 +0200 |
commit | 05fcc84888cfabec2267851415b66395a73a0f5f (patch) | |
tree | 62416f941e2ab9de336733c22d3619e30c3dfbdd /include | |
parent | cf8074b3825f7229a20c60e679511592bde41340 (diff) | |
download | qemu-05fcc84888cfabec2267851415b66395a73a0f5f.tar.gz qemu-05fcc84888cfabec2267851415b66395a73a0f5f.tar.bz2 qemu-05fcc84888cfabec2267851415b66395a73a0f5f.zip |
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')
-rw-r--r-- | include/migration/qemu-file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h index 623c434b15..7519464192 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; |