diff options
author | Cornelia Huck <cohuck@redhat.com> | 2019-05-06 19:11:48 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-05-17 08:16:02 +0200 |
commit | 85fa94e16927af2717093e5b8fe225206ec39e16 (patch) | |
tree | 68e029690d90be5d0d9d7151a3a2b4a87cf99cec /include | |
parent | 1e3f9c69a42ab0365ac381035e501c94c411b007 (diff) |
s390/css: handle CCW_FLAG_SKIP
If a ccw has CCW_FLAG_SKIP set, and the command is of type
read, read backwards, or sense, no data should be written
to the guest for that command.
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20190516133327.11430-1-cohuck@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/s390x/css.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/css.h b/include/hw/s390x/css.h index aae19c4272..7cc183ef43 100644 --- a/include/hw/s390x/css.h +++ b/include/hw/s390x/css.h @@ -97,6 +97,7 @@ typedef struct CcwDataStream { int (*op_handler)(struct CcwDataStream *cds, void *buff, int len, CcwDataStreamOp op); hwaddr cda; + bool do_skip; } CcwDataStream; /* |