From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPc1P-0002wA-49 for qemu-devel@nongnu.org; Wed, 21 Jan 2009 07:17:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPc1N-0002u0-CO for qemu-devel@nongnu.org; Wed, 21 Jan 2009 07:17:25 -0500 Received: from [199.232.76.173] (port=59259 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPc1M-0002th-E8 for qemu-devel@nongnu.org; Wed, 21 Jan 2009 07:17:24 -0500 Received: from mx2.redhat.com ([66.187.237.31]:53558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPc1L-0002Lr-Ua for qemu-devel@nongnu.org; Wed, 21 Jan 2009 07:17:24 -0500 Message-ID: <4977124E.5070900@redhat.com> Date: Wed, 21 Jan 2009 14:17:18 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Add target memory mapping API References: <1232308399-21679-1-git-send-email-avi@redhat.com> <1232308399-21679-2-git-send-email-avi@redhat.com> <20090121115201.GA12504@silverwood.ncultra.org> In-Reply-To: <20090121115201.GA12504@silverwood.ncultra.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ncmike@ncultra.org, qemu-devel@nongnu.org Mike Day wrote: >> >> +typedef struct { >> + void *buffer; >> + target_phys_addr_t addr; >> + target_phys_addr_t len; >> +} BounceBuffer; >> + >> +static BounceBuffer bounce; >> > > > Should there be one bounce buffer for each vcpu? Eventually the device > model lock will be refactored to allow more parallelism, right? > I don't see why. Bouncing only happens when you dma into mmio space instead of RAM. This never happens. -- error compiling committee.c: too many arguments to function