Peter Xu
755e8d7cb6
migration: Move static var in ram_block_from_stream() into global
...
Static variable is very unfriendly to threading of ram_block_from_stream().
Move it into MigrationIncomingState.
Make the incoming state pointer to be passed over to ram_block_from_stream() on
both caller sites.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220301083925.33483-8-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2022-03-02 18:20:45 +00:00
..
2021-10-05 13:10:29 +02:00
2020-10-26 16:15:04 +00:00
2017-09-27 11:27:14 +01:00
2021-07-26 12:44:54 +01:00
2018-02-06 10:55:12 +00:00
2020-09-23 16:07:44 +01:00
2021-12-15 10:31:42 +01:00
2021-11-01 22:56:44 +01:00
2021-11-01 22:56:43 +01:00
2018-07-10 12:48:53 +01:00
2017-06-01 18:49:22 +02:00
2020-10-09 07:08:19 +02:00
2019-06-05 12:43:55 +02:00
2020-10-02 12:28:48 +01:00
2022-02-21 10:35:53 +01:00
2022-01-28 15:38:23 +01:00
2022-03-02 18:20:45 +00:00
2022-01-28 15:38:23 +01:00
2022-01-28 15:38:23 +01:00
2022-01-28 15:38:23 +01:00
2022-01-28 15:38:23 +01:00
2021-02-08 11:19:51 +00:00
2021-02-08 11:19:51 +00:00
2022-03-02 18:20:45 +00:00
2022-03-02 18:20:45 +00:00
2021-07-26 12:45:03 +01:00
2017-05-18 19:20:50 +02:00
2022-02-21 13:30:20 +00:00
2021-07-26 12:44:59 +01:00
2022-03-02 18:20:45 +00:00
2022-01-28 15:38:23 +01:00
2022-03-02 18:17:50 +00:00
2017-06-01 18:49:23 +02:00
2022-03-02 18:20:45 +00:00
2021-02-08 11:19:51 +00:00
2021-06-08 19:36:19 +01:00
2020-08-28 13:34:52 +01:00
2021-05-14 12:31:51 +02:00
2021-06-29 18:30:20 +01:00
2020-11-15 16:43:28 +01:00
2022-03-02 18:17:56 +00:00
2020-08-21 06:18:24 -04:00
2020-12-19 10:39:16 +01:00
2020-12-19 10:39:16 +01:00
2017-05-18 18:04:54 +02:00
2017-05-18 18:04:54 +02:00
2021-07-26 12:45:03 +01:00
2021-07-26 12:45:03 +01:00