qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/4] esp: don't overflow cmdfifo if TC is larger than the cmd


From: Alexander Bulekov
Subject: Re: [PATCH 2/4] esp: don't overflow cmdfifo if TC is larger than the cmdfifo size
Date: Wed, 17 Mar 2021 12:07:58 -0400

On 210316 2330, Mark Cave-Ayland wrote:
> If a guest transfers the message out/command phase data using DMA with a TC
> that is larger than the cmdfifo size then the cmdfifo overflows triggering
> an assert. Limit the size of the transfer to the free space available in
> cmdfifo.
> 
> Buglink: https://bugs.launchpad.net/qemu/+bug/1919036
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> ---
>  hw/scsi/esp.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Alexander Bulekov <alxndr@bu.edu>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]