summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-12-10 13:27:50 +0100
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:40 +0100
commitb823ceaadfaad65f3a034ada394b33ca1bf1a914 (patch)
tree3d42d39571cc13f063fe639c7413b2c84c73c60b /scripts
parent3f7d7b098194ec893efa037491f6231687ff043a (diff)
downloadfocaccia-qemu-b823ceaadfaad65f3a034ada394b33ca1bf1a914.tar.gz
focaccia-qemu-b823ceaadfaad65f3a034ada394b33ca1bf1a914.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions