qemu/include/migration
Daniel P. Berrange baf51e7739 migration: ensure qemu_fflush() always writes full data amount
The QEMUFile writev_buffer / put_buffer functions are expected
to write out the full set of requested data, blocking until
complete. The qemu_fflush() caller does not expect to deal with
partial writes. Clarify the function comments and add a sanity
check to the code to catch mistaken implementations.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1461751518-12128-5-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2016-05-26 11:31:14 +05:30
..
block.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
cpu.h hw: move CPU state serialization to migration/cpu.h 2016-05-19 16:42:28 +02:00
migration.h savevm: fail if migration blockers are present 2016-05-23 21:44:08 +05:30
page_cache.h xbzrle: optimize XBZRLE to decrease the cache misses 2015-01-15 17:49:43 +05:30
postcopy-ram.h Postcopy: Mark nohugepage before discard 2015-11-10 15:00:28 +01:00
qemu-file.h migration: ensure qemu_fflush() always writes full data amount 2016-05-26 11:31:14 +05:30
qjson.h migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
vmstate.h migration: Move qjson.[ch] to migration/ 2016-05-23 14:16:09 +05:30