summaryrefslogtreecommitdiffstats
path: root/hw/intc/arm_gicv3_its_common.c
diff options
context:
space:
mode:
authorEric Auger2017-06-13 15:57:01 +0200
committerPeter Maydell2017-06-13 15:57:01 +0200
commit252a7a6a968c279a4636a86b0559ba3a930a90b5 (patch)
tree0a4541cb97b68144202c69d16dd6921ebde8c711 /hw/intc/arm_gicv3_its_common.c
parenthw/intc/arm_gicv3_kvm: Implement pending table save (diff)
downloadqemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.tar.gz
qemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.tar.xz
qemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.zip
hw/intc/arm_gicv3_its: Allow save/restore
We change the restoration priority of both the GICv3 and ITS. The GICv3 must be restored before the ITS and the ITS needs to be restored before PCIe devices since it translates their MSI transactions. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-id: 1497023553-18411-5-git-send-email-eric.auger@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/intc/arm_gicv3_its_common.c')
-rw-r--r--hw/intc/arm_gicv3_its_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/arm_gicv3_its_common.c b/hw/intc/arm_gicv3_its_common.c
index 696c11ca13..68b20fccd1 100644
--- a/hw/intc/arm_gicv3_its_common.c
+++ b/hw/intc/arm_gicv3_its_common.c
@@ -48,7 +48,7 @@ static const VMStateDescription vmstate_its = {
.name = "arm_gicv3_its",
.pre_save = gicv3_its_pre_save,
.post_load = gicv3_its_post_load,
- .unmigratable = true,
+ .priority = MIG_PRI_GICV3_ITS,
.fields = (VMStateField[]) {
VMSTATE_UINT32(ctlr, GICv3ITSState),
VMSTATE_UINT32(iidr, GICv3ITSState),