summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Riteau <Pierre.Riteau@irisa.fr>2010-05-12 15:12:44 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-06-01 12:53:09 -0500
commit3fc250b4be58cac2e392d8d01949f9e8471c36f9 (patch)
treeb5d4474edb117b2cf5a0834869c5cb292fcbdef5 /Makefile
parenta132a679c33ae2f8f6935f92c2a8043015cd917c (diff)
downloadqemu-3fc250b4be58cac2e392d8d01949f9e8471c36f9.tar.gz
migration: Fix calculation of bytes_transferred
When a page with all identical bytes is transferred, it is counted as a full page (TARGET_PAGE_SIZE) although only one byte is actually sent. Fix this by changing ram_save_block() to return the number of bytes sent instead of a boolean value. This makes bandwidth estimation, and consequently downtime estimation, more precise. Signed-off-by: Pierre Riteau <Pierre.Riteau@irisa.fr> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions