On Thu, Feb 03, 2022 at 05:48:31PM +, Dr. David Alan Gilbert wrote:
> * Peter Xu (pet...@redhat.com) wrote:
> > 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
> >
* Peter Xu (pet...@redhat.com) wrote:
> 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.
>
> Signed-off-by: Peter Xu
OK,
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.
Signed-off-by: Peter Xu
---
migration/migration.h | 3 ++-
migration/ram.c |