RE: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-26 Thread Zhang, Chen
; Li Zhijian > >> ; Jason Wang ; Marc- > >> André Lureau ; Paolo Bonzini > >> > >> Subject: Re: [PATCH 1/3] net/colo-compare.c: Create event_bh with the > >> right AioContext > >> > >> On Wed, 22 Apr 2020 09:03:00 + > >>

Re: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-23 Thread Derek Su
olo Bonzini Subject: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext qemu_bh_new will set the bh to be executed in the main loop. This causes problems as colo_compare_handle_event assumes that it has exclusive access the queues, which are also accessed in the iothr

RE: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-23 Thread Zhang, Chen
> -Original Message- > From: Lukas Straub > Sent: Wednesday, April 22, 2020 5:40 PM > To: Zhang, Chen > Cc: qemu-devel ; Li Zhijian > ; Jason Wang ; Marc- > André Lureau ; Paolo Bonzini > > Subject: Re: [PATCH 1/3] net/colo-compare.c: Create event_bh

Re: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-22 Thread Lukas Straub
> > > > 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 > > > > >

RE: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-22 Thread Zhang, Chen
> -Original Message- > From: Lukas Straub > Sent: Wednesday, April 22, 2020 4:43 PM > To: Zhang, Chen > Cc: qemu-devel ; Li Zhijian > ; Jason Wang ; Marc- > André Lureau ; Paolo Bonzini > > Subject: Re: [PATCH 1/3] net/colo-compare.c: Create event_bh

Re: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-22 Thread Lukas Straub
Lureau ; Paolo Bonzini > > > > Subject: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right > > AioContext > > > > qemu_bh_new will set the bh to be executed in the main loop. This causes > > problems as colo_compare_handle_event assumes that it has e

RE: [PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

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 1/3] net/colo-compare.c: Create event_bh

[PATCH 1/3] net/colo-compare.c: Create event_bh with the right AioContext

2020-04-08 Thread Lukas Straub
qemu_bh_new will set the bh to be executed in the main loop. This causes problems as colo_compare_handle_event assumes that it has exclusive access the queues, which are also accessed in the iothread. It also assumes that it runs in a different thread than the caller and takes the appropriate