aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/digic-timer.c
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2023-04-20 11:48:06 +0200
committerJuan Quintela <quintela@redhat.com>2023-05-08 15:25:26 +0200
commit3e81763e4c2e9f1b4bc331605a6450b6845d8970 (patch)
tree7f8ec37e1f711068364f3bddf43ce33bae6bdd77 /hw/timer/digic-timer.c
parentb5cf1cd3e81eebb6343404fe8029d61dfb817d5a (diff)
downloadqemu-3e81763e4c2e9f1b4bc331605a6450b6845d8970.zip
qemu-3e81763e4c2e9f1b4bc331605a6450b6845d8970.tar.gz
qemu-3e81763e4c2e9f1b4bc331605a6450b6845d8970.tar.bz2
ram.c: Do not call save_page_header() from compress threads
save_page_header() accesses several global variables, so calling it from multiple threads is pretty ugly. Instead, call save_page_header() before writing out the compressed data from the compress buffer to the migration stream. This also makes the core compress code more independend from ram.c. Signed-off-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/timer/digic-timer.c')
0 files changed, 0 insertions, 0 deletions