Commit a4de3d6e91 for qemu.org
commit a4de3d6e91850c2e7ccfe4e0bda86959f5b4fbe0
Author: Keith Monahan <keith@techtravels.org>
Date: Fri Nov 20 18:12:34 2026 +0100
hw/scsi/ncr53c710: Bump the migration version
The migration format is incompatible with the model this replaces, so
the ncr710 and lasi_ncr710 vmstate descriptions raise minimum_version_id
in lockstep: an old stream is rejected rather than silently misparsed.
Signed-off-by: Keith Monahan <keith@techtravels.org>
AI-used-for: Patch series decomposition (commit splitting and ordering)
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/hw/scsi/lasi_ncr710.c b/hw/scsi/lasi_ncr710.c
index c8a28cd987..62608d039c 100644
--- a/hw/scsi/lasi_ncr710.c
+++ b/hw/scsi/lasi_ncr710.c
@@ -163,8 +163,8 @@ static const MemoryRegionOps lasi_ncr710_mmio_ops = {
static const VMStateDescription vmstate_lasi_ncr710 = {
.name = "lasi-ncr710",
- .version_id = 1,
- .minimum_version_id = 1,
+ .version_id = 2,
+ .minimum_version_id = 2,
.fields = (const VMStateField[]) {
VMSTATE_STRUCT(ncr710, LasiNCR710State, 1, vmstate_ncr710, NCR710State),
VMSTATE_END_OF_LIST()
diff --git a/hw/scsi/ncr53c710.c b/hw/scsi/ncr53c710.c
index a161912727..face9039b7 100644
--- a/hw/scsi/ncr53c710.c
+++ b/hw/scsi/ncr53c710.c
@@ -1683,8 +1683,8 @@ static int lsi_post_load(void *opaque, int version_id)
const VMStateDescription vmstate_ncr710 = {
.name = "ncr710",
- .version_id = 1,
- .minimum_version_id = 1,
+ .version_id = 2,
+ .minimum_version_id = 2,
.pre_save = lsi_pre_save,
.post_load = lsi_post_load,
.fields = (const VMStateField[]) {