]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-char.c
qemu-char: do not call chr_write directly
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 06:43:56 +0000 (08:43 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 23 Jun 2014 15:12:28 +0000 (11:12 -0400)
commit6975b713e695e7f1c24a5437fe71fe45381aeebf
tree39c14e74aee235e0a3a55a9d4b2267614d799d77
parentdb39fcf1f690b02d612e2bfc00980700887abe03
qemu-char: do not call chr_write directly

Make the mux always go through qemu_chr_fe_write, so that we'll get
the mutex for the underlying chardev.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qemu-char.c