This is a patch from Paulo that he suggested to fix bz #1854811.
(https://bugzilla.redhat.com/show_bug.cgi?id=1854811)
I think that the race that is described in this bug can still happen (in theory)
so it is better to plug it with a refcount as it was suggested.
Best regards,
Maxim Levitsky
Maxim Levitsky (1):
scsi: fix device removal race vs IO restart callback on resume
hw/scsi/scsi-bus.c | 4 ++++
1 file changed, 4 insertions(+)
--
2.26.2