qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH v3 05/18] util/id: add block-bitmap subsystem


From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-block] [PATCH v3 05/18] util/id: add block-bitmap subsystem
Date: Mon, 1 Oct 2018 13:29:15 +0300

Add block-bitmap subsystem to generate bitmap names in the following
commit.

Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
---
 include/qemu/id.h | 1 +
 util/id.c         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/qemu/id.h b/include/qemu/id.h
index 40c70103e4..013a560e01 100644
--- a/include/qemu/id.h
+++ b/include/qemu/id.h
@@ -4,6 +4,7 @@
 typedef enum IdSubSystems {
     ID_QDEV,
     ID_BLOCK,
+    ID_BLOCK_BITMAP,
     ID_MAX      /* last element, used as array size */
 } IdSubSystems;
 
diff --git a/util/id.c b/util/id.c
index 6141352955..beb4ee7f0b 100644
--- a/util/id.c
+++ b/util/id.c
@@ -34,6 +34,7 @@ bool id_wellformed(const char *id)
 static const char *const id_subsys_str[ID_MAX] = {
     [ID_QDEV]  = "qdev",
     [ID_BLOCK] = "block",
+    [ID_BLOCK_BITMAP] = "block-bitmap",
 };
 
 /*
-- 
2.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]