]> git.proxmox.com Git - qemu.git/commit
The calculation of bytes_xfer in qemu_put_buffer() is wrong
authorWangting (Kathy) <kathy.wangting@huawei.com>
Tue, 19 Nov 2013 05:53:45 +0000 (05:53 +0000)
committerJuan Quintela <quintela@redhat.com>
Wed, 20 Nov 2013 11:16:04 +0000 (12:16 +0100)
commit8e86729a0e83b557c22808a2337252c969ca3986
treee963b562a7e7abdc19a932c7777dc8d68c3b865c
parent394cfa39ba24dd838ace1308ae24961243947fb8
The calculation of bytes_xfer in qemu_put_buffer() is wrong

In qemu_put_buffer(), bytes_xfer += size is wrong, it will be more
than expected, and should be bytes_xfer += l.

Signed-off-by: zhangmin <zhangmin6@huawei.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
savevm.c