]> Git Repo - qemu.git/commit
fsl_imx*: Migrate ROM contents
authorPeter Maydell <[email protected]>
Mon, 24 Jul 2017 16:56:12 +0000 (17:56 +0100)
committerPeter Maydell <[email protected]>
Mon, 24 Jul 2017 16:59:28 +0000 (17:59 +0100)
commiteda40cc1686162dcd92a97debcbb0df74269651f
tree63689cd47e863be69a43b5b04a33a19eef22a560
parente4256c3cbf7eefebc0bc6e1f472c47c6dd20b996
fsl_imx*: Migrate ROM contents

The fsl-imx* boards accidentally forgot to register the ROM memory
regions for migration.  This used to require a manual step of calling
vmstate_register_ram(), but following commits
1cfe48c1ce21..b08199c6fbea194 we can use memory_region_init_rom() to
have it do the migration for us.

This is a migration break, but the migration code currently does not
handle the case of having two RAM regions which were not registered
for migration, and so prior to this commit a migration load would
always fail with:
  "qemu-system-arm: Length mismatch: 0x4000 in != 0x18000: Invalid argument"

NB: migration appears at this point to be broken for this board
anyway -- it succeeds but the destination hangs; probably some
device in the system does not yet support migration.

Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1500309775[email protected]
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c
hw/arm/fsl-imx6.c
This page took 0.024947 seconds and 4 git commands to generate.