[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] Modifications to the drives' readonly attrib
From: |
Naphtali Sprei |
Subject: |
[Qemu-devel] [PATCH v2 0/4] Modifications to the drives' readonly attribute |
Date: |
Sun, 17 Jan 2010 16:48:11 +0200 |
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(-)