Re: [Qemu-devel] [PATCH 2/6] qemu-char: do not call chr_write directly

2014-06-10 Thread Fam Zheng
On Tue, 06/03 18:39, Paolo Bonzini wrote: > Make the mux always go through qemu_chr_fe_write, so that we'll get > the mutex for the underlying chardev. > > Signed-off-by: Paolo Bonzini Reviewed-by: Fam Zheng > --- > qemu-char.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletio

[Qemu-devel] [PATCH 2/6] qemu-char: do not call chr_write directly

2014-06-03 Thread Paolo Bonzini
Make the mux always go through qemu_chr_fe_write, so that we'll get the mutex for the underlying chardev. 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 3df5db7..2bda2fb 100644 --- a/