Re: [PATCH v15 11/11] RFC: fw_cfg: do DMA read operation

From: Michael S. Tsirkin
Date: Wed Feb 28 2018 - 10:48:30 EST


On Wed, Feb 28, 2018 at 04:41:51PM +0100, Marc-André Lureau wrote:
> I don't know if it's always safe to enable dma in read_raw(), how
> could we know? Is there a check we could use to choose one or ther
> other (and thus avoiding explicit dma/readfn argument)?

I'm not sure - but does it really matter? Is anyone reading large files
like this in production where speed matters?
Why even bother with DMA?

--
MST