Re: [Qemu-devel] [PATCH] Compile dma only once

2010-05-29 Thread Paul Brook
> On Fri, May 28, 2010 at 7:34 PM, Paul Brook wrote: > >> Use a qemu_irq to request CPU exit. > > > > Needing to request a CPU exit at all is just wrong. See previous > > discussions about how any use of qemu_bh_schedule_idle is fundamentally > > broken. > > I agree for the device case. Is the a

Re: [Qemu-devel] [PATCH] Compile dma only once

2010-05-29 Thread Blue Swirl
On Fri, May 28, 2010 at 7:34 PM, Paul Brook wrote: >> Use a qemu_irq to request CPU exit. > > Needing to request a CPU exit at all is just wrong. See previous discussions > about how any use of qemu_bh_schedule_idle is fundamentally broken. I agree for the device case. Is the attached patch then

Re: [Qemu-devel] [PATCH] Compile dma only once

2010-05-28 Thread Paul Brook
> Use a qemu_irq to request CPU exit. Needing to request a CPU exit at all is just wrong. See previous discussions about how any use of qemu_bh_schedule_idle is fundamentally broken. Paul