diff options
author | Stefan Hajnoczi | 2015-07-23 14:48:36 +0200 |
---|---|---|
committer | Kevin Wolf | 2015-10-16 15:34:30 +0200 |
commit | bb628e1af8b8b5ecf6420e50123cb696ee18b09f (patch) | |
tree | 7e782791d09fb0442e4f0fb3271879e1807bd6e6 /stubs/chr-msmouse.c | |
parent | blockdev: always compile in -drive aio= parsing (diff) | |
download | qemu-bb628e1af8b8b5ecf6420e50123cb696ee18b09f.tar.gz qemu-bb628e1af8b8b5ecf6420e50123cb696ee18b09f.tar.xz qemu-bb628e1af8b8b5ecf6420e50123cb696ee18b09f.zip |
qemu-nbd: always compile in --aio=MODE option
The --aio=MODE option enables Linux AIO or Windows overlapped I/O.
The #ifdef CONFIG_LINUX_AIO was a layering violation that also prevented
Windows overlapped I/O from being used.
Now that raw-posix.c prints an error when Linux AIO has not been
compiled in, we can unconditionally compile the option into qemu-nbd.
After this patch qemu-nbd --aio=native works on Windows.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'stubs/chr-msmouse.c')
0 files changed, 0 insertions, 0 deletions