I've taken the patch that Matthias Dahl originally posted _months_
ago:
https://www.redhat.com/archives/libvir-list/2010-April/msg00888.html
and updated it by splitting into three patches, adding more testsuite
coverage, improving documentation, and altering the names slightly.
The end result is that you use:
<devices>
<disk type='file' device='disk'>
<driver name='qemu' type='raw' io='native'/>
...
</disk>
</devices>
as the way to request qemu -drive ...,aio=native
Let's get this reviewed and in, rather than dragging our feet
for a few more months :)
Eric Blake (1):
qemu aio: enable support
Matthias Dahl (2):
qemu aio: add XML parsing
qemu aio: parse aio support from qemu -help
AUTHORS | 1 +
docs/formatdomain.html.in | 40 +++++++++++++++++----
docs/schemas/domain.rng | 11 ++++++
src/conf/domain_conf.c | 25 +++++++++++++
src/conf/domain_conf.h | 10 +++++
src/libvirt_private.syms | 3 ++
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 3 +-
src/qemu/qemu_command.c | 17 +++++++++
tests/qemuhelptest.c | 12 ++++--
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args | 1 +
tests/qemuxml2argvdata/qemuxml2argv-disk-aio.xml | 33 +++++++++++++++++
tests/qemuxml2argvtest.c | 2 +
tests/qemuxml2xmltest.c | 1 +
14 files changed, 149 insertions(+), 12 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-aio.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-aio.xml
--
1.7.3.4