diff options
| author | Wenchao Xia | 2014-06-18 08:43:46 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2014-06-23 17:12:27 +0200 |
| commit | c120f0fa14cd763d57270933713dbb25de5446fd (patch) | |
| tree | b93a97e7a50ef37d021108cca48cde24b0ad6b7d /qapi | |
| parent | qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERROR (diff) | |
| download | qemu-c120f0fa14cd763d57270933713dbb25de5446fd.tar.gz qemu-c120f0fa14cd763d57270933713dbb25de5446fd.tar.xz qemu-c120f0fa14cd763d57270933713dbb25de5446fd.zip | |
qapi event: convert BLOCK_IMAGE_CORRUPTED
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/block-core.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 682864df3f..2dbac42558 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1429,6 +1429,30 @@ ## +# @BLOCK_IMAGE_CORRUPTED +# +# Emitted when a disk image is being marked corrupt +# +# @device: device name +# +# @msg: informative message for human consumption, such as the kind of +# corruption being detected +# +# @offset: #optional, if the corruption resulted from an image access, this is +# the access offset into the image +# +# @size: #optional, if the corruption resulted from an image access, this is +# the access size +# +# Since: 1.7 +## +{ 'event': 'BLOCK_IMAGE_CORRUPTED', + 'data': { 'device' : 'str', + 'msg' : 'str', + '*offset': 'int', + '*size' : 'int' } } + +## # @BLOCK_IO_ERROR # # Emitted when a disk I/O error occurs |
