qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v2 02/12] mc: timestamp migration_bitmap and


From: Michael R. Hines
Subject: Re: [Qemu-devel] [RFC PATCH v2 02/12] mc: timestamp migration_bitmap and KVM logdirty usage
Date: Wed, 19 Feb 2014 09:42:44 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/18/2014 06:32 PM, Dr. David Alan Gilbert wrote:
* address@hidden (address@hidden) wrote:
From: "Michael R. Hines" <address@hidden>

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 / address@hidden / Manchester, UK


Oooops. I failed to split-out that patch correctly. How'd that get in there? =)

- Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]