s390x/3270: fix instruction interception handler
commit1728cff2abef27aa00bc7e5f6f73c13b7bd256cb
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Fri, 9 Jun 2017 04:49:03 +0000 (9 06:49 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 5 Jul 2017 10:16:55 +0000 (5 12:16 +0200)
treec3b888680fc2bc3b1f1a67c4446619cae3c518d1
parent517ff12c7d000fa1f5b1e989b22fb86a286f9cc2
s390x/3270: fix instruction interception handler

Commit bab482d7405f ("s390x/css: ccw translation infrastructure")
introduced instruction interception handler for different types of
subchannels. For emulated 3270 devices, we should assign the virtual
subchannel handler to them during device realization process, or 3270
will not work.

Fixes: bab482d7405f ("s390x/css: ccw translation infrastructure")

Reviewed-by: Jing Liu <liujbjl@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/s390x/3270-ccw.c