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
2013-01-10 15:11:53 -06:00
2013-02-11 08:14:41 -06:00
2013-01-26 13:15:35 +00:00
2013-02-12 10:03:27 +01:00
2013-01-18 19:06:57 +01:00
2013-02-07 13:13:39 -06:00
2013-02-09 13:39:45 +00:00
2013-02-01 15:53:11 -06:00
2013-02-09 13:39:45 +00:00
2013-01-30 16:03:57 +00:00
2013-02-06 15:52:07 +01:00
2013-02-06 08:29:21 -06:00
2012-12-20 23:08:47 +01:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2013-02-11 13:22:39 -06:00
2013-02-06 18:33:47 -06:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%