diff options
author | Aaron Lindsay <aaron@os.amperecomputing.com> | 2021-02-03 11:13:40 -0500 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-02-11 11:50:13 +0000 |
commit | af903caed9fc62cc60a589da75e61ea8008c8265 (patch) | |
tree | 29c9d3a1710421b7990de5c9c4fe0ed7edb3cfcd /target | |
parent | 83339e21d05c824ebc9131d644f25c23d0e41ecf (diff) | |
download | qemu-af903caed9fc62cc60a589da75e61ea8008c8265.zip qemu-af903caed9fc62cc60a589da75e61ea8008c8265.tar.gz qemu-af903caed9fc62cc60a589da75e61ea8008c8265.tar.bz2 |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/machine.c b/target/arm/machine.c index 581852b..6ad1d30 100644 --- a/target/arm/machine.c +++ b/target/arm/machine.c @@ -810,7 +810,7 @@ const VMStateDescription vmstate_arm_cpu = { VMSTATE_UINT64(env.exclusive_addr, ARMCPU), VMSTATE_UINT64(env.exclusive_val, ARMCPU), VMSTATE_UINT64(env.exclusive_high, ARMCPU), - VMSTATE_UINT64(env.features, ARMCPU), + VMSTATE_UNUSED(sizeof(uint64_t)), VMSTATE_UINT32(env.exception.syndrome, ARMCPU), VMSTATE_UINT32(env.exception.fsr, ARMCPU), VMSTATE_UINT64(env.exception.vaddress, ARMCPU), |