aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/interrupt.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-03-11 18:55:24 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:18 +0100
commitb6572b4f97a7b126c7b24e165893ed9fe3d72e1f (patch)
treeebb46243454c8decd94f1058115ffc5c9ebcedb0 /target-openrisc/interrupt.c
parent5c3ece79cd0b7b4ed065f4285e7a0262bbfc283b (diff)
downloadqemu-b6572b4f97a7b126c7b24e165893ed9fe3d72e1f.zip
qemu-b6572b4f97a7b126c7b24e165893ed9fe3d72e1f.tar.gz
qemu-b6572b4f97a7b126c7b24e165893ed9fe3d72e1f.tar.bz2
char: translate from QIOChannel error to errno
Caller of CharDriverState.chr* callback assume errno error conventions. Translate QIOChannel error to errno (this fixes potential EAGAIN regression, for ex if a vhost-user backend block, qemu_chr_fe_read_all() could get error -2 and not wait) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1457718924-19338-1-git-send-email-marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-openrisc/interrupt.c')
0 files changed, 0 insertions, 0 deletions