Skip to content

Modifications to the drives' readonly attribute

Naphtali Sprei qemu-devel 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 19 repliesApplied
  2. v13 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4Make CDROM a read-only drivevl.c+7 -02 replies
2/4Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.block.c block.h block/raw-posix.c +8 more+44 -4212 replies
3/4Added drives' readonly optionqemu-options.hx+1 -10 replies
4/4Disable fall-back to read-only when cannot open drive's file for read-writeblock.c+0 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] Modifications to the drives' readonly attribute

This is version 2, to replace previous set.
Addresses all Kevin comments.

Naphtali Sprei (4):
Make CDROM a read-only drive
Clean-up a little bit the RW related bits of BDRV_O_FLAGS.
BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
Added drives' readonly option
Disable fall-back to read-only when cannot open drive's file for
read-write

 block.c           |   29 +++++++++++++----------------
 block.h           |    2 --
 block/raw-posix.c |    2 +-
 block/raw-win32.c |    4 ++--
 block/vmdk.c      |    9 +++++----
 hw/xen_disk.c     |    2 +-
 monitor.c         |    2 +-
 qemu-img.c        |   10 ++++++----
 qemu-io.c         |   14 ++++++--------
 qemu-nbd.c        |    2 +-
 qemu-options.hx   |    2 +-
 vl.c              |   13 ++++++++++---
 12 files changed, 47 insertions(+), 44 deletions(-)