summaryrefslogtreecommitdiffstats
path: root/tcg
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-11 12:40:28 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:24 -0600
commitf77ccbbab130908ae9d2c49a75218ef348d5164d (patch)
treec47f3f52c7f4c31b245f99eca06487f8af37b95c /tcg
parente1d9115155d9cf569e2a86373c8fad279808abbf (diff)
downloadhqemu-f77ccbbab130908ae9d2c49a75218ef348d5164d.zip
hqemu-f77ccbbab130908ae9d2c49a75218ef348d5164d.tar.gz
target-sparc: Migrate CWP and PIL for SPARC64
In SPARC32 the env->cwp and env->psrpil state is part of the PSR register, and gets migrated as part of that register. In SPARC64 this state is in separate CWP and PIL registers, but we were not doing anything to migrate those. Add the missing fields to the migration vmstate (which is a migration break, but without these fields migration is completely broken anyway). This change means that trying a save/load of a SPARC64 target at the boot rom prompt now produces a system which at least responds to keyboard input after the restore. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud