Re: [PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-12-06 Thread Stefan Hajnoczi
On Tue, 5 Dec 2023 at 05:01, Kevin Wolf wrote: > > Am 04.12.2023 um 17:30 hat Stefan Hajnoczi geschrieben: > > On Fri, Dec 01, 2023 at 05:03:13PM +0100, Kevin Wolf wrote: > > > Am 23.11.2023 um 20:49 hat Stefan Hajnoczi geschrieben: > > > > Stop depending on the AioContext lock and instead access

Re: [PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-12-05 Thread Kevin Wolf
Am 04.12.2023 um 17:30 hat Stefan Hajnoczi geschrieben: > On Fri, Dec 01, 2023 at 05:03:13PM +0100, Kevin Wolf wrote: > > Am 23.11.2023 um 20:49 hat Stefan Hajnoczi geschrieben: > > > Stop depending on the AioContext lock and instead access > > > SCSIDevice->requests from only one thread at a time:

Re: [PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-12-04 Thread Stefan Hajnoczi
On Fri, Dec 01, 2023 at 05:03:13PM +0100, Kevin Wolf wrote: > Am 23.11.2023 um 20:49 hat Stefan Hajnoczi geschrieben: > > Stop depending on the AioContext lock and instead access > > SCSIDevice->requests from only one thread at a time: > > - When the VM is running only the BlockBackend's AioContext

Re: [PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-12-01 Thread Kevin Wolf
Am 23.11.2023 um 20:49 hat Stefan Hajnoczi geschrieben: > Stop depending on the AioContext lock and instead access > SCSIDevice->requests from only one thread at a time: > - When the VM is running only the BlockBackend's AioContext may access > the requests list. > - When the VM is stopped only t

Re: [PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-11-27 Thread Eric Blake
On Thu, Nov 23, 2023 at 02:49:28PM -0500, Stefan Hajnoczi wrote: > Stop depending on the AioContext lock and instead access > SCSIDevice->requests from only one thread at a time: > - When the VM is running only the BlockBackend's AioContext may access > the requests list. > - When the VM is stopp

[PATCH 1/4] scsi: only access SCSIDevice->requests from one thread

2023-11-23 Thread Stefan Hajnoczi
Stop depending on the AioContext lock and instead access SCSIDevice->requests from only one thread at a time: - When the VM is running only the BlockBackend's AioContext may access the requests list. - When the VM is stopped only the main loop may access the requests list. These constraints pr