aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/arm_gicv3_its_common.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2017-06-13 14:57:01 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-06-13 14:57:01 +0100
commit252a7a6a968c279a4636a86b0559ba3a930a90b5 (patch)
tree0a4541cb97b68144202c69d16dd6921ebde8c711 /hw/intc/arm_gicv3_its_common.c
parentd5aa0c229ab5d46c1a4ff497553671cd46486749 (diff)
downloadqemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.zip
qemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.tar.gz
qemu-252a7a6a968c279a4636a86b0559ba3a930a90b5.tar.bz2
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 696c11c..68b20fc 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),