Re: [Qemu-devel] [PATCH 32/34] ram: refactor ram_save_block() return value

2012-12-20 Thread Eric Blake
On 12/19/2012 05:33 AM, Juan Quintela wrote: 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. s/than/as/ So now the return of the function is how

[Qemu-devel] [PATCH 32/34] ram: refactor ram_save_block() return value

2012-12-19 Thread Juan Quintela
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