Re: [PATCH 3/3] net/colo-compare.c: Fix deadlock

2020-04-23 Thread Lukas Straub
Lureau ; Paolo Bonzini > > > > Subject: [PATCH 3/3] net/colo-compare.c: Fix deadlock > > > > The chr_out chardev is connected to a filter-redirector running in the main > > loop. qemu_chr_fe_write_all might block here in compare_chr_send if the > > (socke

RE: [PATCH 3/3] net/colo-compare.c: Fix deadlock

2020-04-22 Thread Zhang, Chen
> -Original Message- > From: Lukas Straub > Sent: Thursday, April 9, 2020 2:34 AM > To: qemu-devel > Cc: Zhang, Chen ; Li Zhijian > ; Jason Wang ; Marc- > André Lureau ; Paolo Bonzini > > Subject: [PATCH 3/3] net/colo-compare.c: Fix deadlock > >

[PATCH 3/3] net/colo-compare.c: Fix deadlock

2020-04-08 Thread Lukas Straub
The chr_out chardev is connected to a filter-redirector running in the main loop. qemu_chr_fe_write_all might block here in compare_chr_send if the (socket-)buffer is full. If another filter-redirector in the main loop want's to send data to chr_pri_in it might also block if the buffer is full.