Commit 89dab31b authored by Wei Yang's avatar Wei Yang Committed by Juan Quintela
Browse files

migration/postcopy: fix document of postcopy_send_discard_bm_ram()



Commit 6b6712ef ('ram: Split dirty bitmap by RAMBlock') changes the
parameter of postcopy_send_discard_bm_ram(), while left the document
part untouched.

This patch correct the document and fix two typo by hand.

Signed-off-by: default avatarWei Yang <richardw.yang@linux.intel.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190715020549.15018-1-richardw.yang@linux.intel.com>
Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
parent b17fbbe5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2804,8 +2804,7 @@ void ram_postcopy_migrated_memory_release(MigrationState *ms)
 *
 * @ms: current migration state
 * @pds: state for postcopy
 * @start: RAMBlock starting page
 * @length: RAMBlock size
 * @block: RAMBlock to discard
 */
static int postcopy_send_discard_bm_ram(MigrationState *ms,
                                        PostcopyDiscardState *pds,
@@ -3004,7 +3003,7 @@ static void postcopy_chunk_hostpages_pass(MigrationState *ms, bool unsent_pass,
}

/**
 * postcopy_chuck_hostpages: discrad any partially sent host page
 * postcopy_chunk_hostpages: discard any partially sent host page
 *
 * Utility for the outgoing postcopy code.
 *