diff options
author | Anthony Liguori | 2012-01-27 15:58:52 +0100 |
---|---|---|
committer | Anthony Liguori | 2012-01-27 15:58:52 +0100 |
commit | 21fe5bc678b16d748db385fb1be95caa96b00eee (patch) | |
tree | 33342168c916f107f2c1e89c8fff8490b9e46f88 /qerror.h | |
parent | qemu-io: end aio help text sentences with periods (diff) | |
parent | scsi: Guard against buflen exceeding req->cmd.xfer in scsi_disk_emulate_command (diff) | |
download | qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.tar.gz qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.tar.xz qemu-21fe5bc678b16d748db385fb1be95caa96b00eee.zip |
Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony: (22 commits)
scsi: Guard against buflen exceeding req->cmd.xfer in scsi_disk_emulate_command
qcow: Use bdrv functions to replace file operation
qcow: Return real error code in qcow_open
block/vdi: Zero unused parts when allocating a new block (fix #919242)
virtio-blk: add virtio_blk_handle_read trace event
docs: describe live block operations
block: add support for partial streaming
add QERR_BASE_NOT_FOUND
block: add bdrv_find_backing_image
blockdev: make image streaming safe across hotplug
qmp: add query-block-jobs
qmp: add block_job_cancel command
qmp: add block_job_set_speed command
qmp: add block_stream command
block: rate-limit streaming operations
block: add image streaming block job
block: add BlockJob interface for long-running operations
block: make copy-on-read a per-request flag
block: check bdrv_in_use() before blockdev operations
coroutine: add co_sleep_ns() coroutine sleep function
...
Diffstat (limited to 'qerror.h')
-rw-r--r-- | qerror.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,6 +57,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_BAD_BUS_FOR_DEVICE \ "{ 'class': 'BadBusForDevice', 'data': { 'device': %s, 'bad_bus_type': %s } }" +#define QERR_BASE_NOT_FOUND \ + "{ 'class': 'BaseNotFound', 'data': { 'base': %s } }" + #define QERR_BLOCK_FORMAT_FEATURE_NOT_SUPPORTED \ "{ 'class': 'BlockFormatFeatureNotSupported', 'data': { 'format': %s, 'name': %s, 'feature': %s } }" @@ -168,6 +171,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_NO_BUS_FOR_DEVICE \ "{ 'class': 'NoBusForDevice', 'data': { 'device': %s, 'bus': %s } }" +#define QERR_NOT_SUPPORTED \ + "{ 'class': 'NotSupported', 'data': {} }" + #define QERR_OPEN_FILE_FAILED \ "{ 'class': 'OpenFileFailed', 'data': { 'filename': %s } }" |