diff options
author | Farhan Ali <alifm@linux.ibm.com> | 2020-05-05 14:57:54 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2020-06-18 12:13:54 +0200 |
commit | 46ea3841edaff2a7657b8f6c7f474e5e3850cd62 (patch) | |
tree | 4677779b12e978ec704fd3251889d93595b9c475 /target/s390x | |
parent | 2a3b9cbaa7b25a4db4cdcfe1c65279c5464f2923 (diff) |
vfio-ccw: Add support for the schib region
The schib region can be used to obtain the latest SCHIB from the host
passthrough subchannel. Since the guest SCHIB is virtualized,
we currently only update the path related information so that the
guest is aware of any path related changes when it issues the
'stsch' instruction.
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200505125757.98209-4-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x')
-rw-r--r-- | target/s390x/ioinst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/s390x/ioinst.c b/target/s390x/ioinst.c index 7a14c52c12..a412926d27 100644 --- a/target/s390x/ioinst.c +++ b/target/s390x/ioinst.c @@ -292,8 +292,7 @@ void ioinst_handle_stsch(S390CPU *cpu, uint64_t reg1, uint32_t ipb, sch = css_find_subch(m, cssid, ssid, schid); if (sch) { if (css_subch_visible(sch)) { - css_do_stsch(sch, &schib); - cc = 0; + cc = css_do_stsch(sch, &schib); } else { /* Indicate no more subchannels in this css/ss */ cc = 3; |