diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-04-26 11:04:39 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-26 11:04:39 +0100 |
| commit | 44cf837d38c3af178711781ffdc61776763e40d1 (patch) | |
| tree | 5d6267f86d7f5432223c92852b35dd339bcd5568 /hw/timer/aspeed_timer.c | |
| parent | eb7d1f176381466660a730f14eff3d521686aa31 (diff) | |
| download | focaccia-qemu-44cf837d38c3af178711781ffdc61776763e40d1.tar.gz focaccia-qemu-44cf837d38c3af178711781ffdc61776763e40d1.zip | |
hw/arm/aspeed: don't make 'boot_rom' region 'nomigrate'
Currently we use memory_region_init_ram_nomigrate() to create the "aspeed.boot_rom" memory region, and we don't manually register it with vmstate_register_ram(). This currently means that its contents are migrated but as a ram block whose name is the empty string; in future it may mean they are not migrated at all. Use memory_region_init_ram() instead. Note that would be a cross-version migration compatibility break for the "palmetto-bmc", "ast2500-evb" and "romulus-bmc" machines, but migration is currently broken for them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Tested-by: Cédric Le Goater <clg@kaod.org> Message-id: 20180420124835.7268-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/aspeed_timer.c')
0 files changed, 0 insertions, 0 deletions