Skip to contentSkip to conversation

qemu-img: Deprecate obsolete -6 and -e options

PATCH Applied [email protected] 2 participants 2 messages Dec 7, 2010

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qemu-img: Deprecate obsolete -6 and -e options

From: Jes Sorensen <[email protected]>

If -6 or -e is specified, an error message is printed and we exit. It does not print help() to avoid the error message getting lost in the noise.

---
 block_int.h |    1 -
 qemu-img.c  |   53 ++++++++++++++++++++++-------------------------------
 2 files changed, 22 insertions(+), 32 deletions(-)
block_int.h +0 -1
index 3c3adb5..3ceed47 100644
@@ -29,7 +29,6 @@
 #include "qemu-queue.h"
 
 #define BLOCK_FLAG_ENCRYPT	1
-#define BLOCK_FLAG_COMPRESS	2
 #define BLOCK_FLAG_COMPAT6	4
 
 #define BLOCK_OPT_SIZE          "size"
qemu-img.c +22 -31

124 lines not on this page · raw message

Signature · 1 line
1.7.3.2