From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] [6872] Implement cancellation method for dma async I/O (Avi Kivity)
Date: Sat, 21 Mar 2009 12:27:04 +0100 [thread overview]
Message-ID: <49C4CF08.8010709@mail.berlios.de> (raw)
In-Reply-To: <E1LkjQ0-0000pp-8U@cvs.savannah.gnu.org>
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 <avi@redhat.com>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>
> 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 <weil@mail.berlios.de>
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"
prev parent reply other threads:[~2009-03-21 11:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 18:26 [Qemu-devel] [6872] Implement cancellation method for dma async I/O (Avi Kivity) Anthony Liguori
2009-03-21 8:57 ` [Qemu-devel] [PATCH] clean build: Add missing dma.h to vl.c Jan Kiszka
2009-03-21 11:27 ` Stefan Weil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C4CF08.8010709@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).