diff options
| author | Stefan Hajnoczi | 2015-07-23 14:48:34 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2015-10-16 15:34:30 +0200 |
| commit | 1501ecc1d89231164b4aecddd0219ed4395b693a (patch) | |
| tree | f21c8796f36edbea238a1884d461e20729875897 /include/exec | |
| parent | block: auto-generated node-names (diff) | |
| download | qemu-1501ecc1d89231164b4aecddd0219ed4395b693a.tar.gz qemu-1501ecc1d89231164b4aecddd0219ed4395b693a.tar.xz qemu-1501ecc1d89231164b4aecddd0219ed4395b693a.zip | |
raw-posix: warn about BDRV_O_NATIVE_AIO if libaio is unavailable
raw-posix.c silently ignores BDRV_O_NATIVE_AIO if libaio is unavailable.
It is confusing when aio=native performance is identical to aio=threads
because the binary was accidentally built without libaio.
Print a deprecation warning if -drive aio=native is used with a binary
that does not support libaio. There are probably users using aio=native
who would be inconvenienced if QEMU suddenly refused to start their
guests. In the future this will become an error.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
