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



Reply via email to