qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Subject: [PATCH 0/2] raw-posix block driver fixes (v2)
@ 2009-06-16 13:21 Avi Kivity
  2009-06-16 13:21 ` [Qemu-devel] [PATCH 1/2] raw-posix: open flags use BDRV_ namespace, not posix namespace Avi Kivity
  2009-06-16 13:21 ` [Qemu-devel] [PATCH 2/2] raw-posix: Remove O_RDWR when attempting to open a file read-only Avi Kivity
  0 siblings, 2 replies; 7+ messages in thread
From: Avi Kivity @ 2009-06-16 13:21 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel, Christoph Hellwig

Fix the recent regression opening read-only files as well as using the
wrong constants for open flags.

Changes since v1:
- use O_ACCMODE unconditionally to clear the previous access mode, instead
  of O_RDWR

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 0/2] raw-posix block driver fixes
@ 2009-06-16 12:22 Avi Kivity
  2009-06-16 12:22 ` [Qemu-devel] [PATCH 1/2] raw-posix: open flags use BDRV_ namespace, not posix namespace Avi Kivity
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2009-06-16 12:22 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel, 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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-16 21:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16 13:21 [Qemu-devel] [PATCH 0/2] Subject: [PATCH 0/2] raw-posix block driver fixes (v2) Avi Kivity
2009-06-16 13:21 ` [Qemu-devel] [PATCH 1/2] raw-posix: open flags use BDRV_ namespace, not posix namespace Avi Kivity
2009-06-16 13:28   ` [Qemu-devel] " Christoph Hellwig
2009-06-16 13:21 ` [Qemu-devel] [PATCH 2/2] raw-posix: Remove O_RDWR when attempting to open a file read-only Avi Kivity
2009-06-16 13:29   ` [Qemu-devel] " Christoph Hellwig
2009-06-16 21:18     ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2009-06-16 12:22 [Qemu-devel] [PATCH 0/2] raw-posix block driver fixes Avi Kivity
2009-06-16 12:22 ` [Qemu-devel] [PATCH 1/2] raw-posix: open flags use BDRV_ namespace, not posix namespace Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).