mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
s390x/css: catch ccw sequence errors
We must not allow chains of more than 255 ccws without data transfer. Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
a327c9215d
commit
e8601dd5d0
2 changed files with 11 additions and 0 deletions
|
@ -78,6 +78,7 @@ struct SubchDev {
|
|||
bool last_cmd_valid;
|
||||
bool ccw_fmt_1;
|
||||
bool thinint_active;
|
||||
uint8_t ccw_no_data_cnt;
|
||||
/* transport-provided data: */
|
||||
int (*ccw_cb) (SubchDev *, CCW1);
|
||||
SenseId id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue