On Tue, Mar 27, 2012 at 05:17:23PM +0200, Andreas Färber wrote: > Am 27.03.2012 16:43, schrieb Kevin Wolf: > > Am 27.03.2012 16:30, schrieb Andreas Färber: > >> Am 27.03.2012 04:42, 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 <kw...@redhat.com> > >>> > >>> Signed-off-by: David Gibson <da...@gibson.dropbear.id.au> > >> > >> Including for ppc macio in absence of Alex, > >> > >> Reviewed-by: Andreas Färber <afaer...@suse.de> > >> > >> (Expecting this to go through IDE/Kevin's tree.) > > > > So this isn't part of another series any more? > > AFAICS it's a single patch on qemu-devel, split out of one of the > "Various fixes David has piled up" series on Alex' suggestion.
Actually in this case split out from "patches for IOMMU support" rather than one of the various fixes series. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson