]> git.ipfire.org Git - thirdparty/qemu.git/commit
terminal3270: do not use backend timer sources
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 6 Feb 2019 17:43:25 +0000 (18:43 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 13 Feb 2019 15:46:39 +0000 (16:46 +0100)
commitb1f1103dbabb5f47c3fc7081d8b7edeca1fdf334
tree4ea255036cc13ca0625c7df4611f38f3b55f900f
parent3d9e232240f9d029d7255b5b11d3a2f61c53d0d0
terminal3270: do not use backend timer sources

terminal3270 uses the front-end side of the chardev. It shouldn't
create sources from backend side context (with backend
functions).

send_timing_mark_cb calls qemu_chr_fe_write_all() which should be
thread safe.

This partially reverts changes from commit
2c716ba1506769c9be2caa02f0f6d6e7c00f4304.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190206174328.9736-4-marcandre.lureau@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/terminal3270.c