qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] hw/ide: check null block pointer before blk_drain


From: P J P
Subject: Re: [PATCH] hw/ide: check null block pointer before blk_drain
Date: Thu, 3 Sep 2020 19:09:43 +0530 (IST)

+-- On Thu, 3 Sep 2020, Philippe Mathieu-Daudé wrote --+
| > +            if (s->blk) {
| > +                ide_cancel_dma_sync(s);
| > +                bm->status &= ~BM_STATUS_DMAING;
| 
| If you don't clear this bit the guest might keep retrying (looping).

Oh, okay will keep it out of the if(s->blk) block.

Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
8685 545E B54C 486B C6EB 271E E285 8B5A F050 DE8D

reply via email to

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