target/arm: Don't migrate CPUARMState.features
commitaf903caed9fc62cc60a589da75e61ea8008c8265
authorAaron Lindsay <aaron@os.amperecomputing.com>
Wed, 3 Feb 2021 16:13:40 +0000 (3 11:13 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2021 11:50:13 +0000 (11 11:50 +0000)
tree29c9d3a1710421b7990de5c9c4fe0ed7edb3cfcd
parent83339e21d05c824ebc9131d644f25c23d0e41ecf
target/arm: Don't migrate CPUARMState.features

As feature flags are added or removed, the meanings of bits in the
`features` field can change between QEMU versions, causing migration
failures. Additionally, migrating the field is not useful because it is
a constant function of the CPU being used.

Fixes: LP:1914696
Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Tested-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/machine.c