On 05/03/2026 10.25, Peter Maydell wrote:
On Thu, 5 Mar 2026 at 09:17, Thomas Huth <[email protected]> wrote:
... and we can't remove the remaining global_vmstate stuff since it's still
used by vga-isa.c and vga-mmio.c ...
Unfortunate in hindsight that we didn't tie this to versioning
for all uses.
TYPE_VGA_MMIO is used only be the MIPS Jazz board, which is not
versioned, so we can break migration compat there and switch it
to not-global.
But TYPE_ISA_VGA and TYPE_CIRRUS_ISA_VGA are both pluggable
ISA devices -- since you can plug those into a versioned PC
machine, I assume we can't break migration compat there ?
I guess so, yes.
Shall we maybe start setting global_vmstate = false for the latest machine
types, so that we can at least remove this kludge in a couple of years?
Thomas