diff options
author | Peter Xu | 2017-08-02 11:41:19 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2017-08-02 12:27:28 +0200 |
commit | 2dfaf12ebbdbb85ac0a583caba02f329a7c1ac09 (patch) | |
tree | 9fcbdabb600b44a0a93a8b986d90b56969ca20cc | |
parent | migration: fix small leaks (diff) | |
download | qemu-2dfaf12ebbdbb85ac0a583caba02f329a7c1ac09.tar.gz qemu-2dfaf12ebbdbb85ac0a583caba02f329a7c1ac09.tar.xz qemu-2dfaf12ebbdbb85ac0a583caba02f329a7c1ac09.zip |
migration: fix comment disorder in RAMState
Comments for "migration_dirty_pages" and "bitmap_mutex" are switched.
Fix it.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1501666880-10159-2-git-send-email-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rw-r--r-- | migration/ram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/ram.c b/migration/ram.c index 1b08296d1b..e18b3e2d4f 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -188,9 +188,9 @@ struct RAMState { uint64_t iterations_prev; /* Iterations since start */ uint64_t iterations; - /* protects modification of the bitmap */ - uint64_t migration_dirty_pages; /* number of dirty bits in the bitmap */ + uint64_t migration_dirty_pages; + /* protects modification of the bitmap */ QemuMutex bitmap_mutex; /* The RAMBlock used in the last src_page_requests */ RAMBlock *last_req_rb; |