diff options
| author | Fiona Ebner | 2022-10-13 10:41:00 +0200 |
|---|---|---|
| committer | Juan Quintela | 2022-11-21 11:56:12 +0100 |
| commit | a216ec85b78ea96b51950665879524132f6e678c (patch) | |
| tree | 24b6bee13b6ed8408215b01e2f4340e0384dfa0c /tests/qapi-schema/data-array-unknown.err | |
| parent | Merge tag 'pull-ppc-20221117' of https://gitlab.com/danielhb/qemu into staging (diff) | |
| download | qemu-a216ec85b78ea96b51950665879524132f6e678c.tar.gz qemu-a216ec85b78ea96b51950665879524132f6e678c.tar.xz qemu-a216ec85b78ea96b51950665879524132f6e678c.zip | |
migration/channel-block: fix return value for qio_channel_block_{readv,writev}
in the error case. The documentation in include/io/channel.h states
that -1 or QIO_CHANNEL_ERR_BLOCK should be returned upon error. Simply
passing along the return value from the bdrv-functions has the
potential to confuse the call sides. Non-blocking mode is not
implemented currently, so -1 it is.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/qapi-schema/data-array-unknown.err')
0 files changed, 0 insertions, 0 deletions
