OSDN Git Service

qemu-storage-daemon: Implement --object with qmp_object_add()
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Nov 2020 14:25:04 +0000 (15:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:17:14 +0000 (10:17 +0100)
commit2daf28557e43cc0724b9a8b36e77db10b455e286
tree883499607e280455389517a4c9a0d25d936a4369
parent98c43b7b8b7504099760383fc802d18bc8b18f48
qemu-storage-daemon: Implement --object with qmp_object_add()

This QAPIfies --object and ensures that QMP and the command line option
behave the same.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
storage-daemon/qemu-storage-daemon.c