qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] osdep: warn if opening a file O_DIRECT on tmpfs


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 0/2] osdep: warn if opening a file O_DIRECT on tmpfs fails
Date: Wed, 21 Aug 2013 14:26:39 +0200

Deepak C Shetty <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]