]> Git Repo - qemu.git/commit
integratorcp: Don't migrate flash using vmstate_register_ram_global()
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)
commitb2d1b0507d1b80f23da12dd8aab56944fe380a09
treeadd6c4f33eb5e450683950ef84c8dd9c4b5e6b8d
parent3d75007e017b62f2165b8c0166f0e4984bc1640d
integratorcp: Don't migrate flash using vmstate_register_ram_global()

Instead of migrating the flash by creating the memory region
with memory_region_init_ram_nomigrate() and then calling
vmstate_register_ram_global(), just use memory_region_init_ram(),
which now handles migration registration automatically.

This is a migration compatibility break for the integratorcp
board, because the RAM region's migration name changes to
include the device path. This is OK because we don't guarantee
migration compatibility for this board.

Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1500310341[email protected]
hw/arm/integratorcp.c
This page took 0.023313 seconds and 4 git commands to generate.