[sheepdog] [PATCH] sheep: move SD_OP_DEL_VDI as inter-protocol

Liu Yuan namei.unix at gmail.com
Wed Apr 24 11:46:42 CEST 2013


From: Liu Yuan <tailai.ly at taobao.com>

QEMU needs it to implement 'loadvm' correctly.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 include/internal_proto.h |    1 -
 include/sheepdog_proto.h |    1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal_proto.h b/include/internal_proto.h
index 159c0c2..08958db 100644
--- a/include/internal_proto.h
+++ b/include/internal_proto.h
@@ -36,7 +36,6 @@
  *
  * These same applies for the above 0x80 flags and error values below.
  */
-#define SD_OP_DEL_VDI        0x81
 #define SD_OP_GET_NODE_LIST  0x82
 #define SD_OP_MAKE_FS        0x84
 #define SD_OP_SHUTDOWN       0x85
diff --git a/include/sheepdog_proto.h b/include/sheepdog_proto.h
index 0ddae4a..627a90b 100644
--- a/include/sheepdog_proto.h
+++ b/include/sheepdog_proto.h
@@ -36,6 +36,7 @@
 #define SD_OP_GET_VDI_INFO   0x14
 #define SD_OP_READ_VDIS      0x15
 #define SD_OP_FLUSH_VDI      0x16
+#define SD_OP_DEL_VDI        0x17
 
 #define SD_FLAG_CMD_WRITE    0x01
 #define SD_FLAG_CMD_COW      0x02
-- 
1.7.9.5




More information about the sheepdog mailing list