]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi-schema.json
block: use proper qerrors in qmp_block_resize
[mirror_qemu.git] / qapi-schema.json
index 9b154ccda367e6d3adf85fb38bc9bacca5035c16..735eb352b554f7a205f02ff7df88818e754d4e2e 100644 (file)
 #
 # Returns: nothing on success
 #          If @device is not a valid block device, DeviceNotFound
-#
-# Notes: This command returns UndefinedError in a number of error conditions.
+#          If @size is negative, InvalidParameterValue
+#          If the block device has no medium inserted, DeviceHasNoMedium
+#          If the block device does not support resize, Unsupported
+#          If the block device is read-only, DeviceIsReadOnly
+#          If a long-running operation is using the device, DeviceInUse
 #
 # Since: 0.14.0
 ##