]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi/qom.json
qapi/qom: QAPIfy object-add
[mirror_qemu.git] / qapi / qom.json
index 192a582b07380e1190e8852453488be4176dc629..2056edc07265743a524175c6b25dc5b284dd680b 100644 (file)
 #
 # Create a QOM object.
 #
-# @qom-type: the class name for the object to be created
-#
-# @id: the name of the new object
-#
-# Additional arguments depend on qom-type and are passed to the backend
-# unchanged.
-#
 # Returns: Nothing on success
 #          Error if @qom-type is not a valid class name
 #
 # <- { "return": {} }
 #
 ##
-{ 'command': 'object-add',
-  'data': {'qom-type': 'str', 'id': 'str'},
-  'gen': false } # so we can get the additional arguments
+{ 'command': 'object-add', 'data': 'ObjectOptions', 'boxed': true }
 
 ##
 # @object-del: