Re: [Qemu-devel] [PATCH 2.1 32/36] qemu-char: do not call chr_write directly

2014-06-19 Thread Eric Blake
On 06/18/2014 12:43 AM, Paolo Bonzini wrote: > 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 > Signed-off-by: Paolo Bonzini > --- > qemu-char.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 dele

[Qemu-devel] [PATCH 2.1 32/36] qemu-char: do not call chr_write directly

2014-06-17 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini --- qemu-char.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 56a0a9