diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-23 13:48:36 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2015-10-16 15:34:30 +0200 |
| commit | bb628e1af8b8b5ecf6420e50123cb696ee18b09f (patch) | |
| tree | 7e782791d09fb0442e4f0fb3271879e1807bd6e6 /cpu-exec-common.c | |
| parent | 04d71322c1cf6f527f15397c76bc088ebda7c18b (diff) | |
| download | focaccia-qemu-bb628e1af8b8b5ecf6420e50123cb696ee18b09f.tar.gz focaccia-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 'cpu-exec-common.c')
0 files changed, 0 insertions, 0 deletions