qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] mips boston/malta: don't have nomigrate RAM regions
@ 2018-06-04 11:03 Peter Maydell
  2018-06-04 11:03 ` [Qemu-devel] [PATCH 1/2] hw/mips/boston: don't make flash region 'nomigrate' Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Peter Maydell @ 2018-06-04 11:03 UTC (permalink / raw)
  To: qemu-devel
  Cc: patches, Paul Burton, Aurelien Jarno, Yongbok Kim,
	Cédric Le Goater, Juan Quintela, dgilbert

This patchset fixes a a bug in the MIPS boston and malta boards:
they currently use memory_region_init_rom_nomigrate() to create
memory regions for their BIOS/flash, and they don't manually
register the MR with vmstate_register_ram() either. This currently
means that its contents are migrated, but as a RAM block whose
name is the empty string; in future (when a patch which is currently
in the outstanding migration tree pull request hits master) it
will mean they are not migrated at all. Switch to using
memory_region_init_ram() instead, so the memory contents are
migrated with a reasonable name.

Note that this is a cross-version migration compatibility break
for both machines, but:
 (a) migration will break anyway due to the "don't migrate
     unnamed RAM blocks" patch
 (b) neither machine is versioned, so we don't really care about
     maintaining cross-version migration compatibility AFAIK

thanks
-- PMM

Peter Maydell (2):
  hw/mips/boston: don't make flash region 'nomigrate'
  hw/mips/mips_malta: don't make bios region 'nomigrate'

 hw/mips/boston.c     | 3 +--
 hw/mips/mips_malta.c | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-15 17:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-04 11:03 [Qemu-devel] [PATCH 0/2] mips boston/malta: don't have nomigrate RAM regions Peter Maydell
2018-06-04 11:03 ` [Qemu-devel] [PATCH 1/2] hw/mips/boston: don't make flash region 'nomigrate' Peter Maydell
2018-06-04 13:21   ` Cédric Le Goater
2018-06-04 14:02   ` Philippe Mathieu-Daudé
2018-06-04 11:03 ` [Qemu-devel] [PATCH 2/2] hw/mips/mips_malta: don't make bios " Peter Maydell
2018-06-04 13:21   ` Cédric Le Goater
2018-06-04 14:02   ` Philippe Mathieu-Daudé
2018-06-15 10:08 ` [Qemu-devel] [PATCH 0/2] mips boston/malta: don't have nomigrate RAM regions Peter Maydell
2018-06-15 17:14   ` Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).