|
From: | Kevin Wolf |
Subject: | Re: [Qemu-devel] [PATCH 01/13] Use DMADirection type for dma_bdrv_io |
Date: | Fri, 09 Mar 2012 10:34:36 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 |
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 <address@hidden> > > Signed-off-by: David Gibson <address@hidden> Reviewed-by: Kevin Wolf <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |