diff options
author | Yi Wang | 2019-04-15 08:51:29 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-05-14 18:33:35 +0200 |
commit | 4633456ced3b0ecf63048e79c91cf9d73e7246b6 (patch) | |
tree | 63c901295dc96fe66804726634acb64b6dce83fc /migration | |
parent | migration/ram.c: start of migration_bitmap_sync_range is always 0 (diff) | |
download | qemu-4633456ced3b0ecf63048e79c91cf9d73e7246b6.tar.gz qemu-4633456ced3b0ecf63048e79c91cf9d73e7246b6.tar.xz qemu-4633456ced3b0ecf63048e79c91cf9d73e7246b6.zip |
migration: update comments of migration bitmap
Since the ram bitmap and the unsent bitmap are split by RAMBlock
in commit 6b6712e, it's better to update the comments about them.
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Message-Id: <1555311089-18610-1-git-send-email-wang.yi59@zte.com.cn>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/ram.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/migration/ram.c b/migration/ram.c index ec11161d58..e1fe45311d 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1630,8 +1630,6 @@ static int save_xbzrle_page(RAMState *rs, uint8_t **current_data, /** * migration_bitmap_find_dirty: find the next dirty page from start * - * Called with rcu_read_lock() to protect migration_bitmap - * * Returns the byte offset within memory region of the start of a dirty page * * @rs: current RAM state @@ -2681,7 +2679,7 @@ static void ram_save_cleanup(void *opaque) RAMBlock *block; /* caller have hold iothread lock or is in a bh, so there is - * no writing race against this migration_bitmap + * no writing race against the migration bitmap */ memory_global_dirty_log_stop(); |