From: Gerd Hoffmann Date: Mon, 24 Jun 2013 06:39:55 +0000 (+0200) Subject: qemu-char: report udp backend errors X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~242^2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=58a3714c529b1b97ee078ea25b58f731aabcbfff;p=qemu-upstream-4.4-testing.git qemu-char: report udp backend errors Signed-off-by: Gerd Hoffmann Reviewed-by: Laszlo Ersek Signed-off-by: Michael Tokarev --- diff --git a/qemu-char.c b/qemu-char.c index c097ca16d..5a8f9c09c 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);