diff options
| author | Peter Xu <peterx@redhat.com> | 2022-03-01 16:39:07 +0800 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-03-02 18:20:45 +0000 |
| commit | 755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d (patch) | |
| tree | 809c5966410e9f698d1d55c74afb23deea3ac6a8 /python/qemu/utils/qemu_ga_client.py | |
| parent | 095c12a4a2df4bb45e8d1b1f74dc7ea80fef9ca4 (diff) | |
| download | focaccia-qemu-755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d.tar.gz focaccia-qemu-755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d.zip | |
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>
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions