diff options
-rw-r--r-- | migration/qemu-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/qemu-file.c b/migration/qemu-file.c index bbc565eb53..e9fae31158 100644 --- a/migration/qemu-file.c +++ b/migration/qemu-file.c @@ -668,6 +668,7 @@ int qemu_put_qemu_file(QEMUFile *f_des, QEMUFile *f_src) len = f_src->buf_index; qemu_put_buffer(f_des, f_src->buf, f_src->buf_index); f_src->buf_index = 0; + f_src->iovcnt = 0; } return len; } |