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 /hw/misc/omap_l4.c | |
| parent | 095c12a4a2df4bb45e8d1b1f74dc7ea80fef9ca4 (diff) | |
| download | qemu-755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d.zip qemu-755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d.tar.gz qemu-755e8d7cb6ce2ba62d282ffbb367de391fe0cc3d.tar.bz2 | |
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 'hw/misc/omap_l4.c')
0 files changed, 0 insertions, 0 deletions
