On 02/18/2014 06:32 PM, Dr. David Alan Gilbert wrote:
* mrhi...@linux.vnet.ibm.com (mrhi...@linux.vnet.ibm.com) wrote:
From: "Michael R. Hines" <mrhi...@us.ibm.com>
We also later export these statistics over QMP for better
monitoring of micro-checkpointing as the workload changes.
<snip>
@@ -548,9 +568,11 @@ static int ram_save_block(QEMUFile *f, bool last_stage)
/* XBZRLE overflow or normal page */
if (bytes_sent == -1) {
bytes_sent = save_block_hdr(f, block, offset, cont,
RAM_SAVE_FLAG_PAGE);
- qemu_put_buffer_async(f, p, TARGET_PAGE_SIZE);
- bytes_sent += TARGET_PAGE_SIZE;
- acct_info.norm_pages++;
+ if (ret != RAM_SAVE_CONTROL_DELAYED) {
+ qemu_put_buffer_async(f, p, TARGET_PAGE_SIZE);
+ bytes_sent += TARGET_PAGE_SIZE;
+ acct_info.norm_pages++;
+ }
}
Is that last change intended for this patch; it doesn't look
timestamp related.
Dave
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK
Oooops. I failed to split-out that patch correctly. How'd that get in
there? =)
- Michael