Vladimir Sementsov-Ogievskiy <[email protected]> writes: > Hi all! > > That's a new version for old > > [RFC 00/22] migration: convert vmstate_load/save_state > > after the core patches converting migration code > are already merged into master. > > Let's now convert the whole code base. > > Vladimir Sementsov-Ogievskiy (30): > tests/unit/test-vmstate: move to new migration APIs > ui/vdagent: move to new migration APIs > hw/virtio: extra state: move to new migration APIs > hw/virtio: config save/load: move to new migration APIs > hw/virtio: make virtio_save() and virtio_load() static > hw/virtio: remaining: move to new migration APIs > hw/s390x/virtio-ccw.c: move to new migration APIs > hw/scsi/spapr_vscsi: move to new migration APIs > hw/scsi/scsi-bus.c: use new migration APIs > hw/vfio/pci: move to new migration APIs > hw/pci/pci: move to new migration APIs > hw/pci/msix.c: use new migration APIs > hw/pci/shpc.c: use new migration APIs > hw/display/virtio-gpu: move to new migration APIs > hw/net/virtio-net.c: use new migration APIs > hw/nvram/eeprom93xx.c: use new migration APIs > hw/nvram/fw_cfg.c: use new migration APIs > hw/usb/redirect.c: move to new migration APIs > alpha/machine: move to new migration APIs > avr/machine: move to new migration APIs > or1k/machine: move to new migration APIs > microblaze/machine: move to new migration APIs > hppa/machine: move to new migration APIs > sparc/machine: move to new migration APIs > ppc/machine: move to new migration APIs > mips/machine: move to new migration APIs > arm/machine: move to new migration APIs > migration/vmstate-types: convert vmstate_info_g_byte_array to new APIs > migration: VMStateInfo: remove old .get / .set handlers > migration: finally drop vmstate_save/load_state() functions > > hw/display/virtio-gpu.c | 99 +++++++++++---------- > hw/net/virtio-net.c | 133 ++++++++++++++-------------- > hw/nvram/eeprom93xx.c | 17 ++-- > hw/nvram/fw_cfg.c | 24 ++--- > hw/pci/msix.c | 17 ++-- > hw/pci/pci.c | 85 +++++++++--------- > hw/pci/shpc.c | 20 +++-- > hw/s390x/virtio-ccw.c | 40 ++++----- > hw/scsi/scsi-bus.c | 17 ++-- > hw/scsi/spapr_vscsi.c | 9 +- > hw/usb/redirect.c | 59 +++++++------ > hw/vfio/pci.c | 14 ++- > hw/virtio/vhost-user-fs.c | 68 +++++++------- > hw/virtio/virtio-mmio.c | 31 +++---- > hw/virtio/virtio-pci.c | 45 +++++----- > hw/virtio/virtio.c | 157 +++++++++++++++++---------------- > include/hw/pci/pci.h | 4 +- > include/hw/virtio/virtio-bus.h | 8 +- > include/hw/virtio/virtio.h | 4 - > include/migration/vmstate.h | 17 ---- > migration/vmstate-types.c | 17 ++-- > migration/vmstate.c | 32 +------ > target/alpha/machine.c | 17 ++-- > target/arm/machine.c | 107 +++++++++++----------- > target/avr/machine.c | 50 ++++++----- > target/hppa/machine.c | 34 +++---- > target/microblaze/machine.c | 17 ++-- > target/mips/system/machine.c | 49 +++++----- > target/or1k/machine.c | 17 ++-- > target/ppc/machine.c | 80 ++++++++--------- > target/sparc/machine.c | 68 +++++++------- > tests/unit/test-vmstate.c | 118 +++++++------------------ > ui/vdagent.c | 38 ++++---- > 33 files changed, 710 insertions(+), 802 deletions(-)
Queued patches 1 and 28 for migration-next.
