]> git.proxmox.com Git - mirror_qemu.git/commit - target/mips/machine.c
migration: extend VMStateInfo
authorJianjun Duan <duanj@linux.vnet.ibm.com>
Thu, 19 Jan 2017 19:00:50 +0000 (11:00 -0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 24 Jan 2017 17:54:47 +0000 (17:54 +0000)
commit2c21ee769e4674348560480cecc7b20f3750ee84
tree250ee21fc200f8901ee437569e153e952e6c1342
parentd7fc72ceb52ad77f5f29befc04d5215096b8caa8
migration: extend VMStateInfo

Current migration code cannot handle some data structures such as
QTAILQ in qemu/queue.h. Here we extend the signatures of put/get
in VMStateInfo so that customized handling is supported. put now
will return int type.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jianjun Duan <duanj@linux.vnet.ibm.com>
Message-Id: <1484852453-12728-2-git-send-email-duanj@linux.vnet.ibm.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
22 files changed:
hw/display/virtio-gpu.c
hw/intc/s390_flic_kvm.c
hw/net/vmxnet3.c
hw/nvram/eeprom93xx.c
hw/nvram/fw_cfg.c
hw/pci/msix.c
hw/pci/pci.c
hw/pci/shpc.c
hw/scsi/scsi-bus.c
hw/timer/twl92230.c
hw/usb/redirect.c
hw/virtio/virtio-pci.c
hw/virtio/virtio.c
include/migration/vmstate.h
migration/savevm.c
migration/vmstate.c
target/alpha/machine.c
target/arm/machine.c
target/i386/machine.c
target/mips/machine.c
target/ppc/machine.c
target/sparc/machine.c