qemu-patch-raspberry4/include/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.h s390x/3270: 3270 data stream handling 2017-05-04 10:34:37 +02:00
adapter.h s390x/virtio-ccw: wire up irq routing and irqfds 2014-05-20 13:05:58 +02:00
css-bridge.h s390x/css: realize css_create_sch 2017-05-19 12:29:01 +02:00
css.h s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
ebcdic.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
event-facility.h Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
ioinst.h s390x/css: fence off MIDA 2017-06-06 10:17:11 +02:00
s390-ccw.h s390x/css: introduce and realize ccw-request callback 2017-05-19 12:29:01 +02:00
s390-virtio-ccw.h s390x/css: add s390-squash-mcss machine option 2017-05-19 12:29:01 +02:00
s390_flic.h s390x: vmstatify config migration for virtio-ccw 2017-07-05 12:16:55 +02:00
sclp.h s390x/sclp: propagate hmfai 2016-09-06 17:06:50 +02:00
storage-keys.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00