On 09/05/2018 09:17 AM, Quan Xu wrote:
From 7de4cc7c944bfccde0ef10992a7ec882fdcf0508 Mon Sep 17 00:00:00 2001
From: Quan Xu <quan.xu0@xxxxxxxxx>
Date: Wed, 5 Sep 2018 22:06:58 +0800
Subject: [RFC PATCH v2] migration: calculate remaining pages accurately
during the bulk stage
Since the bulk stage assumes in (migration_bitmap_find_dirty) that every
page is dirty, initialize the number of dirty pages at the beggining of
s/beggining/beginning/
the iteration and then decrease it for each processed page.
Signed-off-by: Quan Xu <quan.xu0@xxxxxxxxx>
---
migration/ram.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org