Add block-bitmap subsystem to generate bitmap names in the following commit.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> --- 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