aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-01-20 18:13:42 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-26 15:42:02 -0600
commit9a2d77ad0dd6b3e93669543b846a75c02878eba7 (patch)
treeb9c5bac76f770d1def9446c3853664197eb6e69f /block.h
parent6987307ca30aead67e8545934186c92f942710f6 (diff)
block: kill BDRV_O_CREAT
The BDRV_O_CREAT option is unused inside qemu and partially duplicates the bdrv_create method. Remove it, and the -C option to qemu-io which isn't used in qemu-iotests anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block.h b/block.h
index 1aec4531ba..ecf66c52ab 100644
--- a/block.h
+++ b/block.h
@@ -28,7 +28,6 @@ typedef struct QEMUSnapshotInfo {
} QEMUSnapshotInfo;
#define BDRV_O_RDWR 0x0002
-#define BDRV_O_CREAT 0x0004 /* create an empty file */
#define BDRV_O_SNAPSHOT 0x0008 /* open the file read only and save writes in a snapshot */
#define BDRV_O_FILE 0x0010 /* open as a raw file (do not try to
use a disk image format on top of