qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/4] migration/postcopy: fix typo in mark_postcopy_blocktime_


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/4] migration/postcopy: fix typo in mark_postcopy_blocktime_begin's comment
Date: Mon, 7 Oct 2019 12:08:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

On 10/6/19 12:05 AM, Wei Yang wrote:
Signed-off-by: Wei Yang <address@hidden>
---
  migration/postcopy-ram.c | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c
index d2bdd21ae3..a394c7c3a6 100644
--- a/migration/postcopy-ram.c
+++ b/migration/postcopy-ram.c
@@ -768,9 +768,11 @@ static void mark_postcopy_blocktime_begin(uintptr_t addr, 
uint32_t ptid,
      atomic_xchg(&dc->page_fault_vcpu_time[cpu], low_time_offset);
      atomic_xchg(&dc->vcpu_addr[cpu], addr);
- /* check it here, not at the begining of the function,
-     * due to, check could accur early than bitmap_set in
-     * qemu_ufd_copy_ioctl */
+    /*
+     * check it here, not at the beginning of the function,
+     * due to, check could occur early than bitmap_set in
+     * qemu_ufd_copy_ioctl
+     */
      already_received = ramblock_recv_bitmap_test(rb, (void *)addr);
      if (already_received) {
          atomic_xchg(&dc->vcpu_addr[cpu], 0);


Reviewed-by: Philippe Mathieu-Daudé <address@hidden>



reply via email to

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