qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] g364fb: fix migration (or: fix migration for MIPS magnum machines)
@ 2021-06-25  7:38 Mark Cave-Ayland
  2021-06-25  7:38 ` [PATCH 1/2] g364fb: use RAM memory region for framebuffer Mark Cave-Ayland
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mark Cave-Ayland @ 2021-06-25  7:38 UTC (permalink / raw)
  To: qemu-devel, f4bug, aurelien, jiaxun.yang, aleksandar.rikalo,
	hpoussin, fthain

I noticed whilst testing the previous dp8393x patchset that I would always
get a segfault whilst attempting to migrate the MIPS magnum machine.

A bit of detective work shows that the problem is an incorrect VMStateDescription
in the g364fb device which expects a G364State but instead receives a
G364SysBusState.

Looking back through the git history suggests that migration for this device
(and also the MIPS magnum machines) has been broken for several years, so patch
1 takes the opportunity to improve the migration stream for the framebuffer
first whilst patch 2 contains the actual fix.

Note that I don't use the MIPS magnum machines on a regular basis but the
patchset fixes the migration error and survives some light testing here.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Mark Cave-Ayland (2):
  g364fb: use RAM memory region for framebuffer
  g364fb: add VMStateDescription for G364SysBusState

 hw/display/g364fb.c | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

-- 
2.20.1



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

end of thread, other threads:[~2021-06-25 17:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-25  7:38 [PATCH 0/2] g364fb: fix migration (or: fix migration for MIPS magnum machines) Mark Cave-Ayland
2021-06-25  7:38 ` [PATCH 1/2] g364fb: use RAM memory region for framebuffer Mark Cave-Ayland
2021-06-25  8:37   ` Philippe Mathieu-Daudé
2021-06-25 11:52     ` Mark Cave-Ayland
2021-06-25  7:38 ` [PATCH 2/2] g364fb: add VMStateDescription for G364SysBusState Mark Cave-Ayland
2021-06-25  8:44   ` Philippe Mathieu-Daudé
2021-06-25 11:57     ` Mark Cave-Ayland
2021-06-25 16:37 ` [PATCH 0/2] g364fb: fix migration (or: fix migration for MIPS magnum machines) Mark Cave-Ayland
2021-06-25 17:20   ` Philippe Mathieu-Daudé

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).