From: Dr. David Alan Gilbert Date: Fri, 23 Aug 2019 10:39:46 +0000 (+0100) Subject: qemu-file: Rework old qemu_fflush comment X-Git-Tag: v4.2.0-rc0~110^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b348706729c2154aae78f593b682d960bfb5930;p=thirdparty%2Fqemu.git 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 Message-Id: <20190823103946.7388-1-dgilbert@redhat.com> Reviewed-by: Daniel P. Berrangé Reviewed-by: Stefano Garzarella Reviewed-by: Juan Quintela Signed-off-by: Dr. David Alan Gilbert --- diff --git a/migration/qemu-file.c b/migration/qemu-file.c index e33c46764fc..075faf03c36 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) {