diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-06-24 08:39:55 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-28 22:10:34 +0400 |
commit | 58a3714c529b1b97ee078ea25b58f731aabcbfff (patch) | |
tree | 17630d10e7b5b66875175f974710c19777bacba9 /qemu-char.c | |
parent | bb6fb7c0857aeda7982ac14460328edf3c29cfc8 (diff) | |
download | qemu-58a3714c529b1b97ee078ea25b58f731aabcbfff.zip qemu-58a3714c529b1b97ee078ea25b58f731aabcbfff.tar.gz qemu-58a3714c529b1b97ee078ea25b58f731aabcbfff.tar.bz2 |
qemu-char: report udp backend errors
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-char.c b/qemu-char.c index c097ca1..5a8f9c0 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2255,6 +2255,8 @@ static CharDriverState *qemu_chr_open_udp(QemuOpts *opts) fd = inet_dgram_opts(opts, &local_err); if (fd < 0) { + qerror_report_err(local_err); + error_free(local_err); return NULL; } return qemu_chr_open_udp_fd(fd); |