summaryrefslogtreecommitdiff
path: root/block/raw-win32.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-07-04 18:33:20 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2016-07-18 15:09:31 +0100
commit0187f5c9cb172771ba85c66e3bf61f8cde6d6561 (patch)
tree18529868935e436847aa696c35792c116d24af0e /block/raw-win32.c
parent4e90ccc28e53eb92ecbd0cdb67da454d783ea828 (diff)
downloadqemu-0187f5c9cb172771ba85c66e3bf61f8cde6d6561.zip
linux-aio: share one LinuxAioState within an AioContext
This has better performance because it executes fewer system calls and does not use a bottom half per disk. Originally proposed by Ming Lei. [Changed #include "raw-aio.h" to "block/raw-aio.h" in win32-aio.c to fix build error as reported by Peter Maydell <peter.maydell@linaro.org>. --Stefan] Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1467650000-51385-1-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> squash! linux-aio: share one LinuxAioState within an AioContext
Diffstat (limited to 'block/raw-win32.c')
-rw-r--r--block/raw-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/raw-win32.c b/block/raw-win32.c
index 62edb1a6cc..9b813d99ae 100644
--- a/block/raw-win32.c
+++ b/block/raw-win32.c
@@ -27,7 +27,7 @@
#include "qemu/timer.h"
#include "block/block_int.h"
#include "qemu/module.h"
-#include "raw-aio.h"
+#include "block/raw-aio.h"
#include "trace.h"
#include "block/thread-pool.h"
#include "qemu/iov.h"