From: Peter Xu <peterx@redhat.com>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"BALATON Zoltan" <balaton@eik.bme.hu>,
qemu-devel@nongnu.org,
"Akihiko Odaki" <odaki@rsg.ci.i.u-tokyo.ac.jp>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Max Filippov" <jcmvbkbc@gmail.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [PATCH v5 1/8] hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate()
Date: Thu, 5 Mar 2026 10:30:33 -0500 [thread overview]
Message-ID: <aamhmXuvcPXPfWSJ@x1.local> (raw)
In-Reply-To: <97bceb8f-4cdb-461d-9553-c39b18a61063@ilande.co.uk>
On Thu, Mar 05, 2026 at 11:15:59AM +0000, Mark Cave-Ayland wrote:
> On 03/03/2026 09:51, Peter Maydell wrote:
>
> > On Sun, 1 Mar 2026 at 21:03, BALATON Zoltan <balaton@eik.bme.hu> wrote:
> > >
> > > Use memory_region_init_rom() instead which is what other devices do.
> > > This is breaks migration but these devices are only used on sparc Sun
> > > machines which have no migration compatibility guarantee.
> > >
> > > Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> > > ---
> > > hw/display/cg3.c | 5 ++---
> > > hw/display/tcx.c | 5 ++---
> > > 2 files changed, 4 insertions(+), 6 deletions(-)
> >
> > Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> >
> > I think the compat break on these machines is worth it
> > to make progress on the cleanup of these functions.
>
> Hi Peter,
Hi, Mark,
[some pure thoughts before PeterM chimes in..]
>
> From what I can see there is still on-going discussion on this series,
> however if the general consensus is that the removal of the last of these
> legacy functions is now imminent then I won't object if you want to merge
> this.
In this case it's not easy to reach a consensus collecting "yes"s but
"no"s, that who still prefer this ABI to be kept.
Personally, I would respect your opinion, and I queued them because from
what I read the impact seems under control, please correct me otherwise.
There's indeed the dilemma that since sparc machines are not versioned,
then it's easier to be treated as a system that may not demand the highest
level of ABI guarantees.
It's also harder to consider ABI compatibility for un-versioned machs
comparing to versioned.
It's because for other versioned machines, we have the ~6 years lifespan
nowadays for them so we can drop old things over specific period of time.
While when a machine is not versioned, it's almost impossible to mark the
time of deprecation.
We either need to choose to maintain ABI for those machines forever, or we
allow ABI break to some degree. When a machine is not versioned, it's
harder to justify we maintain these machines' ABI even longer than
versioned machines (which we deemed to be "relatively serious" users).
So if we want to stick with that machine versioning plan, maybe we should
start version machines that we may care on ABIs. IIUC it doesn't need to
introduce one machine type every release, however when versioned we will be
able to follow the same ~6 years obsoletion phase at least.
Thanks,
--
Peter Xu
next prev parent reply other threads:[~2026-03-05 15:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-01 21:03 [PATCH v5 0/8] memory: Remove most _nomigrate variants BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 1/8] hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate() BALATON Zoltan
2026-03-03 9:51 ` Peter Maydell
2026-03-05 11:15 ` Mark Cave-Ayland
2026-03-05 15:30 ` Peter Xu [this message]
2026-03-05 16:06 ` BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 2/8] memory: Remove memory_region_init_rom_nomigrate() BALATON Zoltan
2026-03-03 9:52 ` Peter Maydell
2026-03-01 21:03 ` [PATCH v5 3/8] sun4m,sun4u,tcx: Do not use memory_region_init_ram_nomigrate() BALATON Zoltan
2026-03-03 9:53 ` [PATCH v5 3/8] sun4m, sun4u, tcx: " Peter Maydell
2026-03-01 21:03 ` [PATCH v5 4/8] memory: Remove memory_region_init_ram_nomigrate() BALATON Zoltan
2026-03-03 9:55 ` Peter Maydell
2026-03-03 13:10 ` BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 5/8] memory: Factor out common ram region initialization BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 6/8] memory: Add internal memory_region_register_ram function BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 7/8] memory: Shorten memory_region_init_ram_device_ptr and memory_region_init_rom_device BALATON Zoltan
2026-03-01 21:03 ` [PATCH v5 8/8] memory: Factor out more common ram region initialization BALATON Zoltan
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=aamhmXuvcPXPfWSJ@x1.local \
--to=peterx@redhat.com \
--cc=balaton@eik.bme.hu \
--cc=jcmvbkbc@gmail.com \
--cc=kraxel@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.