From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5wAv-0007rK-HW for qemu-devel@nongnu.org; Fri, 09 Mar 2012 04:31:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5wAW-0004ie-8T for qemu-devel@nongnu.org; Fri, 09 Mar 2012 04:31:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5wAW-0004iT-0R for qemu-devel@nongnu.org; Fri, 09 Mar 2012 04:31:24 -0500 Message-ID: <4F59CEAC.80501@redhat.com> Date: Fri, 09 Mar 2012 10:34:36 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1331269308-22372-1-git-send-email-david@gibson.dropbear.id.au> <1331269308-22372-2-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1331269308-22372-2-git-send-email-david@gibson.dropbear.id.au> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/13] Use DMADirection type for dma_bdrv_io List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: rth@twiddle.net, eduard.munteanu@linux360.ro, mst@redhat.com, qemu-devel@nongnu.org, agraf@suse.de Am 09.03.2012 06:01, schrieb David Gibson: > Currently dma_bdrv_io() takes a 'to_dev' boolean parameter to > determine the direction of DMA it is emulating. We already have a > DMADirection enum designed specifically to encode DMA directions. > This patch uses it for dma_bdrv_io() as well. This involves removing > the DMADirection definition from the #ifdef it was inside, but since that > only existed to protect the definition of dma_addr_t from places where > config.h is not included, there wasn't any reason for it to be there in > the first place. > > Cc: Kevin Wolf > > Signed-off-by: David Gibson Reviewed-by: Kevin Wolf