This reverts commit 8cc5583abe6419e7faaebc9fbd109f34f4c850f2.
That commit causes several problems in Linux as described in the BZ.
In particular, after a while, other devices on the bus are no longer
usable even if those devices are not affected by the hotunplug.
This may be a problem in Linux, but we have not been able to identify
it so far. So better to revert this patch until we find a solution.
Also, Oracle, which initially proposed this patch for a problem with
Solaris, seems to have already reversed it downstream:
https://linux.oracle.com/errata/ELSA-2023-12065.html
Suggested-by: Thomas Huth <thuth@redhat.com>
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2176702
Cc: qemu-stable@nongnu.org
Cc: Mark Kanda <mark.kanda@oracle.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
include/hw/scsi/scsi.h | 1 -
hw/scsi/scsi-bus.c | 18 ------------------
hw/scsi/virtio-scsi.c | 2 --
3 files changed, 21 deletions(-)