summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2019-08-23 12:39:46 +0200
committerDr. David Alan Gilbert2019-09-12 12:16:10 +0200
commit3b348706729c2154aae78f593b682d960bfb5930 (patch)
treeaba43b7f94d324fadd4cd8a3414d77685ba3b9bc
parentmigration: register_savevm_live doesn't need dev (diff)
downloadqemu-3b348706729c2154aae78f593b682d960bfb5930.tar.gz
qemu-3b348706729c2154aae78f593b682d960bfb5930.tar.xz
qemu-3b348706729c2154aae78f593b682d960bfb5930.zip
qemu-file: Rework old qemu_fflush comment
Commit 11808bb removed the non-iovec based write support, the comment hung on. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20190823103946.7388-1-dgilbert@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rw-r--r--migration/qemu-file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/migration/qemu-file.c b/migration/qemu-file.c
index e33c46764f..075faf03c3 100644
--- a/migration/qemu-file.c
+++ b/migration/qemu-file.c
@@ -201,9 +201,8 @@ static void qemu_iovec_release_ram(QEMUFile *f)
/**
* Flushes QEMUFile buffer
*
- * If there is writev_buffer QEMUFileOps it uses it otherwise uses
- * put_buffer ops. This will flush all pending data. If data was
- * only partially flushed, it will set an error state.
+ * This will flush all pending data. If data was only partially flushed, it
+ * will set an error state.
*/
void qemu_fflush(QEMUFile *f)
{