summaryrefslogtreecommitdiffstats
path: root/scripts/qemugdb
diff options
context:
space:
mode:
authorPeter Xu2018-01-18 06:20:49 +0100
committerPaolo Bonzini2018-02-05 13:54:39 +0100
commit4e4b57342e14f260ca6e2d4cfcbafb876d227909 (patch)
treedf01a65ae99cae1a084f9f6771792e5f6f89a42f /scripts/qemugdb
parentscsi-generic: Simplify error handling code (diff)
downloadqemu-4e4b57342e14f260ca6e2d4cfcbafb876d227909.tar.gz
qemu-4e4b57342e14f260ca6e2d4cfcbafb876d227909.tar.xz
qemu-4e4b57342e14f260ca6e2d4cfcbafb876d227909.zip
chardev: fix incorrect unref of source
glib reported error when pty chardev used: $ ./qemu-system-x86_64 -chardev pty,id=foo -device isa-serial,chardev=foo qemu-system-x86_64: -chardev pty,id=foo: char device redirected to /dev/pts/2 (label foo) (qemu-system-x86_64:27885): GLib-CRITICAL **: g_source_unref: assertion 'source != NULL' failed (qemu-system-x86_64:27885): GLib-CRITICAL **: g_source_unref: assertion 'source != NULL' failed This patch fixes that. Fixes: 2c716ba150 ("chardev: introduce qemu_chr_timeout_add_ms()") CC: Paolo Bonzini <pbonzini@redhat.com> Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180118052049.31119-1-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemugdb')
0 files changed, 0 insertions, 0 deletions