v2:
 * Link in util/qemu-error.o instead of stubbing error_report() [Markus]

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):
  libcacard: link against qemu-error.o for error_report()
  osdep: warn if opening a file O_DIRECT on tmpfs fails

 libcacard/Makefile |  3 ++-
 util/osdep.c       | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

-- 
1.8.3.1


Reply via email to