]> git.proxmox.com Git - mirror_qemu.git/commit
hw/net/dp8393x: don't make prom region 'nomigrate'
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jul 2018 13:51:35 +0000 (14:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jul 2018 13:51:35 +0000 (14:51 +0100)
commit8fad0a65582c0a6e324580f45516461e9b6aa439
tree5fa7bf1c3d687cb75a751030a05705482630d65f
parent5bd366b467fd23d0530580573b2024d3962222c3
hw/net/dp8393x: don't make prom region 'nomigrate'

Currently we use memory_region_init_rom_nomigrate() to create
the "dp3893x-prom" 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 this is a a cross-version migration compatibility break
for the MIPS "magnum" and "pica61" machines.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aleksandar Markovic <aleksandar.markovic@wavecomp.com>
Message-id: 20180706174309.27110-1-peter.maydell@linaro.org
hw/net/dp8393x.c