From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGXgw-0006X9-3b for qemu-devel@nongnu.org; Tue, 16 Jun 2009 08:23:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGXgp-0006Un-L7 for qemu-devel@nongnu.org; Tue, 16 Jun 2009 08:23:04 -0400 Received: from [199.232.76.173] (port=33454 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGXgp-0006UM-C2 for qemu-devel@nongnu.org; Tue, 16 Jun 2009 08:22:59 -0400 Received: from mx2.redhat.com ([66.187.237.31]:37208) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGXgo-0008Lf-UD for qemu-devel@nongnu.org; Tue, 16 Jun 2009 08:22:59 -0400 From: Avi Kivity Date: Tue, 16 Jun 2009 15:22:50 +0300 Message-Id: <1245154972-21581-1-git-send-email-avi@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] raw-posix block driver fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Christoph Hellwig Fix the recent regression opening read-only files as well as using the wrong constants for open flags. Avi Kivity (2): raw-posix: open flags use BDRV_ namespace, not posix namespace raw-posix: Remove O_RDWR when attempting to open a file read-only block/raw-posix.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)