qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS
Date: Wed, 25 Mar 2009 17:46:49 +0100
User-agent: Mutt/1.5.12-2006-07-14

Stefano Stabellini, le Wed 25 Mar 2009 16:19:58 +0000, a écrit :
> Avi Kivity wrote:
> 
> > Stefano Stabellini wrote:
> >> Hi all,
> >> after the recent introduction of dma_buf_prepare we stopped honoring
> >> IDE_DMA_BUF_SECTORS (the guest can issue dma requests with a greater
> >> total length than IDE_DMA_BUF_SECTORS).
> >> This patch adds the IDE_DMA_BUF_SECTORS limit back in place.
> >>
> >> Comments are welcome.
> >>   
> > 
> > Aren't 64K sector requests legal?
> > 
> > Looking at ide_cmd_lba48_transform().
> > 
> 
> 
> I am not sure about that, but I would think not since we define 
> MAX_MULT_SECTORS 16
> If I change MAX_MULT_SECTORS, am I supposed to see smaller dma requests?

Do not confuse things. MAX_MULT_SECTORS is for multi-sectors PIO, not
for DMA.

Samuel




reply via email to

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