|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 2/5] dma-helpers: allow including from target-independent code |
Date: | Fri, 09 Sep 2011 13:53:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 09/09/2011 01:39 PM, Kevin Wolf wrote:
Am 07.09.2011 17:20, schrieb Paolo Bonzini:Target-independent code cannot construct sglists, but it can take them from the outside as a black box. Allow this. Signed-off-by: Paolo Bonzini<address@hidden>I was hoping to find the use case for this somewhere in the rest of the series, but there doesn't seem to be an example.
Indeed, unfortunately not yet.
How can you make use of the dma.h functions when you can't build a QEMUSGList? Or would you have a target-dependent part that builds it and passes it to a target-independent part?
Exactly, scsi-disk/scsi-bus will pick the QEMUSGList from the HBA and treat it opaquely.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |