Re: [PATCH v2 3/6] esp: ensure cmdfifo is not empty and current_dev is non-NULL\

2021-03-17 Thread Alexander Bulekov
On 210317 2302, Mark Cave-Ayland wrote: > When about to execute a SCSI command, ensure that cmdfifo is not empty and > current_dev is non-NULL. This can happen if the guest tries to execute a TI > (Transfer Information) command without issuing one of the select commands > first. > > Buglink: https

[PATCH v2 3/6] esp: ensure cmdfifo is not empty and current_dev is non-NULL

2021-03-17 Thread Mark Cave-Ayland
When about to execute a SCSI command, ensure that cmdfifo is not empty and current_dev is non-NULL. This can happen if the guest tries to execute a TI (Transfer Information) command without issuing one of the select commands first. Buglink: https://bugs.launchpad.net/qemu/+bug/1910723 Buglink: htt