qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] dma: Avoid reentrancy in DMA transfer handlers


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] dma: Avoid reentrancy in DMA transfer handlers
Date: Mon, 31 Oct 2011 16:34:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 10/31/2011 03:46 PM, Kevin Wolf wrote:
>  Hmm, I think you should set rearm = 1 to ensure the BH is run when
>  ultimately you leave the sync read.  Sorry for not spotting this before.

I was about to agree, but in fact adding a rearm = 1; line leads to
crashes, whereas in the version I posted it just works. So it looks like
something is wrong with doing it, even though it seemed to make perfect
sense at the first sight.

But what will restart the DMA at the end of the synchronous I/O, then?

Paolo




reply via email to

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