From bcb2b582f35a34b5aee6bdafd93f3eabd9fca6ff Mon Sep 17 00:00:00 2001 From: Jens Freimann Date: Tue, 11 Feb 2014 13:29:44 +0100 Subject: s390/virtio-ccw: migration support This patch adds live migration support for virtio-ccw devices. It's not done with vmstate because virtio itself is not yet ported to vmstate either. Signed-off-by: Jens Freimann Signed-off-by: Cornelia Huck --- hw/s390x/css.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/s390x/css.h') diff --git a/hw/s390x/css.h b/hw/s390x/css.h index 6586106fa7..c864ea765b 100644 --- a/hw/s390x/css.h +++ b/hw/s390x/css.h @@ -85,6 +85,8 @@ struct SubchDev { typedef SubchDev *(*css_subch_cb_func)(uint8_t m, uint8_t cssid, uint8_t ssid, uint16_t schid); +void subch_device_save(SubchDev *s, QEMUFile *f); +int subch_device_load(SubchDev *s, QEMUFile *f); int css_create_css_image(uint8_t cssid, bool default_image); bool css_devno_used(uint8_t cssid, uint8_t ssid, uint16_t devno); void css_subch_assign(uint8_t cssid, uint8_t ssid, uint16_t schid, -- cgit v1.2.3