mirror of
git://git.proxmox.com/git/pve-qemu.git
synced 2024-12-22 17:35:52 +03:00
0af826b448
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> |
||
---|---|---|
.. | ||
patches | ||
source | ||
changelog | ||
compat | ||
control | ||
copyright | ||
docs | ||
kvm-ifdown | ||
kvm-ifup | ||
Logo.bmp | ||
OVMF_CODE-pure-efi.fd | ||
OVMF_README.txt | ||
OVMF_VARS-pure-efi.fd | ||
parse-cpu-flags.pl | ||
parse-machines.pl | ||
pve-qemu-kvm.install | ||
pve-qemu-kvm.links | ||
pve-qemu-kvm.lintian-overrides | ||
rules |