diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-06-13 14:57:01 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-06-13 14:57:01 +0100 |
commit | 252a7a6a968c279a4636a86b0559ba3a930a90b5 (patch) | |
tree | 0a4541cb97b68144202c69d16dd6921ebde8c711 /hw/intc/arm_gicv3_its_common.c | |
parent | d5aa0c229ab5d46c1a4ff497553671cd46486749 (diff) | |
download | qemu-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.c | 2 |
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), |