From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkzM8-000656-Rh for qemu-devel@nongnu.org; Sat, 21 Mar 2009 07:27:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkzM3-00064s-IS for qemu-devel@nongnu.org; Sat, 21 Mar 2009 07:27:11 -0400 Received: from [199.232.76.173] (port=36364 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkzM3-00064p-DG for qemu-devel@nongnu.org; Sat, 21 Mar 2009 07:27:07 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:60333) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkzM2-0003tW-Sz for qemu-devel@nongnu.org; Sat, 21 Mar 2009 07:27:07 -0400 Message-ID: <49C4CF08.8010709@mail.berlios.de> Date: Sat, 21 Mar 2009 12:27:04 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [6872] Implement cancellation method for dma async I/O (Avi Kivity) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 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: qemu-devel@nongnu.org, Anthony Liguori Anthony Liguori schrieb: > Revision: 6872 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6872 > Author: aliguori > Date: 2009-03-20 18:26:07 +0000 (Fri, 20 Mar 2009) > Log Message: > ----------- > Implement cancellation method for dma async I/O (Avi Kivity) > > Move the dma helpers to a private aio pool, and implement a cancellation > method for them. Should prevent issues when cancelling I/O while dma is > in progress. > > Signed-off-by: Avi Kivity > Signed-off-by: Anthony Liguori > > Modified Paths: > -------------- > trunk/dma-helpers.c > trunk/dma.h > trunk/vl.c > > ... > > Modified: trunk/vl.c > =================================================================== > --- trunk/vl.c 2009-03-20 18:26:03 UTC (rev 6871) > +++ trunk/vl.c 2009-03-20 18:26:07 UTC (rev 6872) > @@ -5515,6 +5515,7 @@ > cpu_exec_init_all(tb_size * 1024 * 1024); > > bdrv_init(); > + dma_helper_init(); > > /* we always create the cdrom drive, even if no disk is there */ > > > > > Add missing include statement. This is needed for dma_helper_init() from r6872. Signed-off-by: Stefan Weil Index: trunk/vl.c =================================================================== --- trunk.orig/vl.c 2009-03-21 12:22:20.000000000 +0100 +++ trunk/vl.c 2009-03-21 12:22:27.000000000 +0100 @@ -139,6 +139,7 @@ #include "hw/baum.h" #include "hw/bt.h" #include "bt-host.h" +#include "dma.h" #include "net.h" #include "monitor.h" #include "console.h"