qemu-storage-daemon: Enable object-add
commit15d40e9204eb3d89577187f117a1dde2237bdc4d
authorKevin Wolf <kwolf@redhat.com>
Thu, 4 Feb 2021 07:21:37 +0000 (4 08:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 15 Feb 2021 14:10:14 +0000 (15 15:10 +0100)
tree4ef5e24d8d6708c9b21ecbe496eb7d05f283b9a6
parent0280396a33c7210c4df5306afeab63411a41535a
qemu-storage-daemon: Enable object-add

As we don't have a fully QAPIfied version of object-add yet and it still
has 'gen': false in the schema, it needs to be registered explicitly in
init_qmp_commands() to be available for users.

Fixes: 2af282ec51a27116d0402cab237b8970800f870c
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210204072137.19663-1-kwolf@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
storage-daemon/qemu-storage-daemon.c