]> www.infradead.org Git - users/dwmw2/qemu.git/commit
migration: Remove "rs" parameter in migration_bitmap_sync_precopy
authorHyman Huang <yong.huang@smartx.com>
Thu, 17 Oct 2024 06:42:53 +0000 (14:42 +0800)
committerPeter Xu <peterx@redhat.com>
Thu, 31 Oct 2024 19:48:18 +0000 (15:48 -0400)
commit6a39ba7cab67da05b91e215142ce5781e77e5d9f
tree6e736257e10ce108da71c02f166661f7d364225c
parentd481cec75658b313be3ae8fea3f800780e5c937b
migration: Remove "rs" parameter in migration_bitmap_sync_precopy

The global static variable ram_state in fact is referred to by the
"rs" parameter in migration_bitmap_sync_precopy. For ease of calling
by the callees, use the global variable directly in
migration_bitmap_sync_precopy and remove "rs" parameter.

The migration_bitmap_sync_precopy will be exported in the next commit.

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/283c335d61463bf477160da91b24da45cdaf3e43.1729146786.git.yong.huang@smartx.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/ram.c