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: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS
Date: Wed, 25 Mar 2009 18:45:19 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Stefano Stabellini wrote:
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?

I think that's for pio, or maybe older DMA? Certainly you wouldn't expect to be limited to 16 sectors DMA.

Anyway I think IDE_DMA_BUF_SECTORS was a qemu limitation and did not model real hardware behaviour.

--
error compiling committee.c: too many arguments to function





reply via email to

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