commit | 6cd0beda2c3c21fd7575e944764f392be7ef50c1 | [log] [tgz] |
---|---|---|
author | Lei Li <lilei@linux.vnet.ibm.com> | Wed Sep 04 17:02:36 2013 +0800 |
committer | Juan Quintela <quintela@trasno.org> | Tue Sep 24 13:22:08 2013 +0200 |
tree | 597415c45703c777d46a7801908a36c197fe905d | |
parent | c77a5f2daa1ccbd825d59b95c70207c0a196bb94 [diff] |
arch_init: right return for ram_save_iterate qemu_file_rate_limit() never return negative value since the refactor by Commit 1964a39, this patch gets rid of the negative check for it, adjust bytes_transferred and return value correspondingly in ram_save_iterate(). Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>