From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC8HO-0000vc-FT for qemu-devel@nongnu.org; Wed, 21 Aug 2013 09:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VC8HH-0004Pa-HG for qemu-devel@nongnu.org; Wed, 21 Aug 2013 09:16:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC8HH-0004PF-9h for qemu-devel@nongnu.org; Wed, 21 Aug 2013 09:16:47 -0400 From: Stefan Hajnoczi Date: Wed, 21 Aug 2013 15:16:37 +0200 Message-Id: <1377090999-18217-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] osdep: warn if opening a file O_DIRECT on tmpfs fails List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Deepak C Shetty , Markus Armbruster , Stefan Hajnoczi v2: * Link in util/qemu-error.o instead of stubbing error_report() [Markus] Deepak C Shetty 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