From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R20DA-0004Am-DH for qemu-devel@nongnu.org; Fri, 09 Sep 2011 08:29:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R20D9-0004Xl-4x for qemu-devel@nongnu.org; Fri, 09 Sep 2011 08:29:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R20D8-0004Xd-Sz for qemu-devel@nongnu.org; Fri, 09 Sep 2011 08:29:35 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p89CTXfQ009898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Sep 2011 08:29:34 -0400 Message-ID: <4E69FAF0.3040308@redhat.com> Date: Fri, 09 Sep 2011 13:39:28 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1315408862-15178-1-git-send-email-pbonzini@redhat.com> <1315408862-15178-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1315408862-15178-3-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/5] dma-helpers: allow including from target-independent code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org 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 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. 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? Kevin