summaryrefslogtreecommitdiff
path: root/hw/s390x/css.c
diff options
context:
space:
mode:
authorHalil Pasic <pasic@linux.vnet.ibm.com>2017-07-11 16:54:40 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-07-14 12:29:48 +0200
commite996583eb35c8e3a182ed599318d30cb0be6a001 (patch)
tree32a9ad8d69e939689037599430827dfb129b0ab8 /hw/s390x/css.c
parentff443fe6b59cbbb4beb6186cc3986748626a2b57 (diff)
downloadqemu-e996583eb35c8e3a182ed599318d30cb0be6a001.tar.gz
s390x/css: activate ChannelSubSys migration
Turn on migration for the channel subsystem for the next machine. For legacy machines we still have to do things the old way. Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Message-Id: <20170711145441.33925-6-pasic@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/s390x/css.c')
-rw-r--r--hw/s390x/css.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/s390x/css.c b/hw/s390x/css.c
index 0768fec68c..62db7f646c 100644
--- a/hw/s390x/css.c
+++ b/hw/s390x/css.c
@@ -408,6 +408,11 @@ static int subch_dev_post_load(void *opaque, int version_id)
return 0;
}
+void css_register_vmstate(void)
+{
+ vmstate_register(NULL, 0, &vmstate_css, &channel_subsys);
+}
+
IndAddr *get_indicator(hwaddr ind_addr, int len)
{
IndAddr *indicator;