xemu/hw/net/can
Peter Maydell 17e3134061 Remove unnecessary minimum_version_id_old fields
The migration code will not look at a VMStateDescription's
minimum_version_id_old field unless that VMSD has set the
load_state_old field to something non-NULL.  (The purpose of
minimum_version_id_old is to specify what migration version is needed
for the code in the function pointed to by load_state_old to be able
to handle it on incoming migration.)

We have exactly one VMSD which still has a load_state_old,
in the PPC CPU; every other VMSD which sets minimum_version_id_old
is doing so unnecessarily. Delete all the unnecessary ones.

Commit created with:
  sed -i '/\.minimum_version_id_old/d' $(git grep -l '\.minimum_version_id_old')
with the one legitimate use then hand-edited back in.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>

Signed-off-by: Juan Quintela <quintela@redhat.com>

---

It missed vmstate_ppc_cpu.
2022-01-28 15:38:23 +01:00
..
can_kvaser_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_mioe3680_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_pcm3680_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_sja1000.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
can_sja1000.h hw/net/can: Make CanBusClientInfo::can_receive() return a boolean 2020-03-31 21:14:35 +08:00
ctu_can_fd_frame.h hw/net/can/ctucafd: Add CTU CAN FD core register definitions. 2020-09-30 19:11:37 +02:00
ctu_can_fd_regs.h hw/net/can/ctucafd: Add CTU CAN FD core register definitions. 2020-09-30 19:11:37 +02:00
ctucan_core.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
ctucan_core.h hw/net/can/ctucan_core: Handle big-endian hosts 2020-11-11 20:34:36 +08:00
ctucan_pci.c Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
meson.build hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
trace-events hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
trace.h hw/net/can: Introduce Xilinx ZynqMP CAN controller 2020-12-10 11:30:44 +00:00
xlnx-zynqmp-can.c Do not include sysemu/sysemu.h if it's not really necessary 2021-05-02 17:24:50 +02:00