Fiona Ebner
0af826b448
savevm async IO channel: channel writev: fix return value in 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 blk-functions has the potential to
confuse the call sides. Non-blocking mode is not implemented
currently, so -1 it is.
The "return ret" was mistakenly left over from the previous
QEMUFileOps based implementation. Also, use error_setg_errno(), since
the blk(_co)_p{readv,writev} functions return errno codes.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com >
2022-10-18 15:32:13 +02:00
..
2022-10-14 14:52:29 +02:00
2022-02-15 14:03:07 +01:00
2022-10-14 14:52:29 +02:00
2022-06-29 12:29:21 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-18 15:32:13 +02:00
2022-10-14 14:52:34 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:36 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:36 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:36 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00
2022-10-14 14:52:29 +02:00