diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-28 17:22:59 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-09-28 19:40:56 +0200 |
commit | 1d809098aa9518cda41c2cf6e660d3d602614907 (patch) | |
tree | 10c4520abd255c0fa113fdaa5283143d6142d657 /qapi-schema.json | |
parent | 32c81a4a6ecc3f50efc9c270a269e4d3d8a9fbd5 (diff) | |
download | qemu-1d809098aa9518cda41c2cf6e660d3d602614907.zip qemu-1d809098aa9518cda41c2cf6e660d3d602614907.tar.gz qemu-1d809098aa9518cda41c2cf6e660d3d602614907.tar.bz2 |
stream: add on-error argument
This patch adds support for error management to streaming.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 14e7a0d..768b4c7 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1869,13 +1869,18 @@ # # @speed: #optional the maximum speed, in bytes per second # +# @on-error: #optional the action to take on an error (default report). +# 'stop' and 'enospc' can only be used if the block device +# supports io-status (see BlockInfo). Since 1.3. +# # Returns: Nothing on success # If @device does not exist, DeviceNotFound # # Since: 1.1 ## -{ 'command': 'block-stream', 'data': { 'device': 'str', '*base': 'str', - '*speed': 'int' } } +{ 'command': 'block-stream', + 'data': { 'device': 'str', '*base': 'str', '*speed': 'int', + '*on-error': 'BlockdevOnError' } } ## # @block-job-set-speed: |