qemu/hw/s390x
Halil Pasic 517ff12c7d s390x: vmstatify config migration for virtio-ccw
Let's vmstatify virtio_ccw_save_config and virtio_ccw_load_config for
flexibility (extending using subsections) and for fun.

To achieve this we need to hack the config_vector, which is VirtIODevice
(that is common virtio) state, in the middle of the VirtioCcwDevice state
representation.  This is somewhat ugly, but we have no choice because the
stream format needs to be preserved.

Almost no changes in behavior. Exception is everything that comes with
vmstate like extra bookkeeping about what's in the stream, and maybe some
extra checks and better error reporting.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-Id: <20170703213414.94298-1-pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2017-07-05 12:16:55 +02:00
..
3270-ccw.c s390x/css: realize css_create_sch 2017-05-19 12:29:01 +02:00
ccw-device.c s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
ccw-device.h s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
css-bridge.c s390x/css: realize css_create_sch 2017-05-19 12:29:01 +02:00
css.c s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
event-facility.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
ipl.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
ipl.h hw/s390x/ipl: enable LOADPARM in IPIB for a boot device 2017-05-02 15:08:54 +02:00
Makefile.objs s390x/css: device support for s390-ccw passthrough 2017-05-19 12:29:01 +02:00
s390-ccw.c s390x/css: ccw translation infrastructure 2017-05-19 12:29:01 +02:00
s390-pci-bus.c memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
s390-pci-bus.h s390x: use enum for adapter type and standardize its naming 2017-04-21 09:32:09 +02:00
s390-pci-inst.c memory: tune last param of iommu_ops.translate() 2017-05-25 21:25:27 +03:00
s390-pci-inst.h s390x/pci: make S390PCIIOMMU inherit Object 2017-01-20 09:48:09 +01:00
s390-skeys-kvm.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-skeys.c migration: Split registration functions from vmstate.h 2017-06-13 11:00:44 +02:00
s390-virtio-ccw.c migration: Split registration functions from vmstate.h 2017-06-13 11:00:44 +02:00
s390-virtio-hcall.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-virtio.c s390x/ipl: Extend S390IPLState to support network boot 2017-02-28 12:04:48 +01:00
s390-virtio.h s390x/ipl: Extend S390IPLState to support network boot 2017-02-28 12:04:48 +01:00
sclp.c trivial patches for 2017-05-10 2017-05-10 12:31:19 -04:00
sclpcpu.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
sclpquiesce.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
virtio-ccw.c s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
virtio-ccw.h virtio-ccw: add virtio-crypto-ccw device 2017-02-24 10:15:18 +01:00