diff options
author | Juan Quintela <quintela@redhat.com> | 2012-12-10 13:27:50 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-12-20 23:09:40 +0100 |
commit | b823ceaadfaad65f3a034ada394b33ca1bf1a914 (patch) | |
tree | 3d42d39571cc13f063fe639c7413b2c84c73c60b /.gitignore | |
parent | 3f7d7b098194ec893efa037491f6231687ff043a (diff) | |
download | qemu-b823ceaadfaad65f3a034ada394b33ca1bf1a914.zip qemu-b823ceaadfaad65f3a034ada394b33ca1bf1a914.tar.gz qemu-b823ceaadfaad65f3a034ada394b33ca1bf1a914.tar.bz2 |
ram: refactor ram_save_block() return value
It could only return 0 if we only found dirty xbzrle pages that hadn't
changed (i.e. they were written with the same content). We don't care
about that case, it is the same than nothing dirty.
So now the return of the function is how much have it written, nothing
else. Adjust callers.
And we also made ram_save_iterate() return the number of transferred
bytes, not the number of transferred pages.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions