Re: [RFC PATCH 2/4] hw/scsi/scsi-disk: Use automatic AIO context lock

2021-10-06 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > Use the automatic AIO context acquire/release in scsi_block_realize(). > > Signed-off-by: Philippe Mathieu-Daudé I'll let the AIO people reply more thoroughly to this; but this patch is the case I really like this mechanism for; removing the

[RFC PATCH 2/4] hw/scsi/scsi-disk: Use automatic AIO context lock

2021-10-05 Thread Philippe Mathieu-Daudé
Use the automatic AIO context acquire/release in scsi_block_realize(). Signed-off-by: Philippe Mathieu-Daudé --- hw/scsi/scsi-disk.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index e8a547dbb7d..fa2d8543718 100644 -