summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2021-11-22 18:17:17 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-11-22 18:17:19 +0000
commit33a0c404fb90a3fa8eea6ebf5c535fc7bc0b9912 (patch)
tree9ad9d4ad0aa43c4906a82dfac4c73c0935b88486 /hw/intc
parent89d2f9e4c63799f7f03e9180c63b7dc45fc2a04a (diff)
downloadfocaccia-qemu-33a0c404fb90a3fa8eea6ebf5c535fc7bc0b9912.tar.gz
focaccia-qemu-33a0c404fb90a3fa8eea6ebf5c535fc7bc0b9912.zip
hw/intc/arm_gicv3_its: Revert version increments in vmstate_its
Commit 18f6290a6a ("hw/intc: GICv3 ITS initial framework")
incremented version_id and minimum_version_id fields of
VMStateDescription vmstate_its. This breaks the migration between
6.2 and 6.1 with the following message:

qemu-system-aarch64: savevm: unsupported version 1 for 'arm_gicv3_its' v0
qemu-system-aarch64: load of migration failed: Invalid argument

Revert that change.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20211122171020.1195483-1-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/arm_gicv3_its_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/intc/arm_gicv3_its_common.c b/hw/intc/arm_gicv3_its_common.c
index 7d7f3882e7..90b85f1e25 100644
--- a/hw/intc/arm_gicv3_its_common.c
+++ b/hw/intc/arm_gicv3_its_common.c
@@ -50,8 +50,6 @@ static int gicv3_its_post_load(void *opaque, int version_id)
 
 static const VMStateDescription vmstate_its = {
     .name = "arm_gicv3_its",
-    .version_id = 1,
-    .minimum_version_id = 1,
     .pre_save = gicv3_its_pre_save,
     .post_load = gicv3_its_post_load,
     .priority = MIG_PRI_GICV3_ITS,