commit | 8e86729a0e83b557c22808a2337252c969ca3986 | [log] [tgz] |
---|---|---|
author | Wangting (Kathy) <kathy.wangting@huawei.com> | Tue Nov 19 05:53:45 2013 +0000 |
committer | Juan Quintela <quintela@redhat.com> | Wed Nov 20 12:16:04 2013 +0100 |
tree | e963b562a7e7abdc19a932c7777dc8d68c3b865c | |
parent | 394cfa39ba24dd838ace1308ae24961243947fb8 [diff] |
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>