qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [6872] Implement cancellation method for dma async I/O


From: Stefan Weil
Subject: Re: [Qemu-devel] [6872] Implement cancellation method for dma async I/O (Avi Kivity)
Date: Sat, 21 Mar 2009 12:27:04 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

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 <address@hidden>
> Signed-off-by: Anthony Liguori <address@hidden>
>
> 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 <address@hidden>

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"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]