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<pbonz...@redhat.com>

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


Reply via email to