From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
qemu-devel@nongnu.org, aurelien@aurel32.net,
jiaxun.yang@flygoat.com, aleksandar.rikalo@syrmia.com,
hpoussin@reactos.org, fthain@telegraphics.com.au
Subject: Re: [PATCH 0/2] g364fb: fix migration (or: fix migration for MIPS magnum machines)
Date: Fri, 25 Jun 2021 19:20:16 +0200 [thread overview]
Message-ID: <dbde0ed8-8f9a-2267-1eb9-f3676f3dc8f6@amsat.org> (raw)
In-Reply-To: <23ac7f38-6378-1506-aad9-9602ae5379e8@ilande.co.uk>
On 6/25/21 6:37 PM, Mark Cave-Ayland wrote:
> On 25/06/2021 08:38, Mark Cave-Ayland wrote:
>
>> 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(-)
>
> Thanks for the review Phil, I've just sent v2 on its way. Does it make
> sense for this to be merged via the MIPS tree?
Sure, I was going to suggest that too. Gerd could still beats me
since it is hw/display/ ;) I plan to send another pull request
during next week.
prev parent reply other threads:[~2021-06-25 17:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dbde0ed8-8f9a-2267-1eb9-f3676f3dc8f6@amsat.org \
--to=f4bug@amsat.org \
--cc=aleksandar.rikalo@syrmia.com \
--cc=aurelien@aurel32.net \
--cc=fthain@telegraphics.com.au \
--cc=hpoussin@reactos.org \
--cc=jiaxun.yang@flygoat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).