aboutsummaryrefslogtreecommitdiff
path: root/block/monitor/Makefile.objs
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2020-05-18 13:53:07 -0500
committerEric Blake <eblake@redhat.com>2020-05-19 10:32:14 -0500
commitbb4e58c6137e80129b955789dd4b66c1504f20dc (patch)
treee89281ed1dd8bf91a3e0e0fe072433b0bed8af06 /block/monitor/Makefile.objs
parentc6996cf9a6c759c29919642be9a73ac64b38301b (diff)
blockdev: Split off basic bitmap operations for qemu-img
Upcoming patches want to add some basic bitmap manipulation abilities to qemu-img. But blockdev.o is too heavyweight to link into qemu-img (among other things, it would drag in block jobs and transaction support - qemu-img does offline manipulation, where atomicity is less important because there are no concurrent modifications to compete with), so it's time to split off the bare bones of what we will need into a new file block/monitor/bitmap-qmp-cmds.o. This is sufficient to expose 6 QMP commands for use by qemu-img (add, remove, clear, enable, disable, merge), as well as move the three helper functions touched in the previous patch. Regarding MAINTAINERS, the new file is automatically part of block core, but also makes sense as related to other dirty bitmap files. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200513011648.166876-6-eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'block/monitor/Makefile.objs')
-rw-r--r--block/monitor/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/monitor/Makefile.objs b/block/monitor/Makefile.objs
index 0a74f9a8b5..39acf85022 100644
--- a/block/monitor/Makefile.objs
+++ b/block/monitor/Makefile.objs
@@ -1 +1,2 @@
common-obj-y += block-hmp-cmds.o
+block-obj-y += bitmap-qmp-cmds.o