summary refs log tree commit diff stats
path: root/python/scripts/mkvenv.py
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-08-08 14:19:52 +1000
committerCédric Le Goater <clg@kaod.org>2023-09-06 11:19:33 +0200
commit578912ad7312ececb9a88b4c38d406dda640346d (patch)
treef08269af71a20f92513f771879c312fa08f8ffea /python/scripts/mkvenv.py
parentfebb71d543a8f747b2f8aaf0182d0a385c6a02c3 (diff)
downloadfocaccia-qemu-578912ad7312ececb9a88b4c38d406dda640346d.tar.gz
focaccia-qemu-578912ad7312ececb9a88b4c38d406dda640346d.zip
target/ppc: Migrate DECR SPR
TCG does not maintain the DEC reigster in the SPR array, so it does get
migrated. TCG also needs to re-start the decrementer timer on the
destination machine.

Load and store the decrementer into the SPR when migrating. This works
for the level-triggered (book3s) decrementer, and should be compatible
with existing KVM machines that do keep the DEC value there.

This fixes lost decrementer interrupt on migration that can cause
hangs, as well as other problems including record-replay bugs.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'python/scripts/mkvenv.py')
0 files changed, 0 insertions, 0 deletions