qemu-e2k/include/migration
Stefan Hajnoczi ad55ab42d4 migration: make qemu_ftell() public and support writable files
Migration .save_live_iterate() functions return the number of bytes
transferred.  The easiest way of doing this is by calling qemu_ftell(f)
at the beginning and end of the function to calculate the difference.

Make qemu_ftell() public so that block-migration will be able to use it.
Also adjust the ftell calculation for writable files where buf_offset
does not include buf_size.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-id: 1360661835-28663-2-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-12 16:26:44 -06:00
..
block.h
migration.h migration: move beginning stage to the migration thread 2013-01-17 13:54:18 +01:00
page_cache.h
qemu-file.h migration: make qemu_ftell() public and support writable files 2013-02-12 16:26:44 -06:00
vmstate.h savevm: New save live migration method: pending 2012-12-20 23:09:25 +01:00