vfio/ccw: update sense data if a unit check is pending
commit334e76850bbbdc977656cc8a77ce101af00ba13d
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Wed, 17 May 2017 00:48:12 +0000 (17 02:48 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 19 May 2017 10:29:01 +0000 (19 12:29 +0200)
tree9fb22210409f901d5f760b99073ee7595414c0a3
parentbab482d7405f9fe3cac9c213d60f9ca9442c047b
vfio/ccw: update sense data if a unit check is pending

Concurrent-sense data is currently not delivered. This patch stores
the concurrent-sense data to the subchannel if a unit check is pending
and the concurrent-sense bit is enabled. Then a TSCH can retreive the
right IRB data back to the guest.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170517004813.58227-13-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/vfio/ccw.c