Message ID | 1363872230-15081-4-git-send-email-owasserm@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/savevm.c b/savevm.c index baa45ae..686c8c8 100644 --- a/savevm.c +++ b/savevm.c @@ -647,6 +647,8 @@ void qemu_put_byte(QEMUFile *f, int v) f->buf[f->buf_index++] = v; f->is_write = 1; + f->bytes_xfer += 1; + if (f->buf_index >= IO_BUF_SIZE) { qemu_fflush(f); }
Signed-off-by: Orit Wasserman <owasserm@redhat.com> --- savevm.c | 2 ++ 1 file changed, 2 insertions(+)