Deepak C Shetty <deepa...@linux.vnet.ibm.com> tried to open an image file O_DIRECT on tmpfs and received EINVAL. This error is too generic, making it hard to figure out that the problem is -drive ...,cache=none on tmpfs.
Add a warning when opening a file O_DIRECT on tmpfs fails. Stefan Hajnoczi (2): stubs: add error_report() osdep: warn if opening a file O_DIRECT on tmpfs fails stubs/Makefile.objs | 1 + stubs/error-report.c | 12 ++++++++++++ util/osdep.c | 19 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 stubs/error-report.c -- 1.8.3.1