Re: [RFC 8/8] virtio-scsi: Use virtio_bus_set_host_notifiers()

2021-03-29 Thread Stefan Hajnoczi
On Thu, Mar 25, 2021 at 04:07:35PM +0100, Greg Kurz wrote: > This allows the virtio-scsi-pci device to batch additions and deletions > of host notifiers. This significantly improves boot time of VMs with a > high number of vCPUs, e.g. from 6m13.969s down to 1m4.268s for a pseries > machine with 384

[RFC 8/8] virtio-scsi: Use virtio_bus_set_host_notifiers()

2021-03-25 Thread Greg Kurz
This allows the virtio-scsi-pci device to batch additions and deletions of host notifiers. This significantly improves boot time of VMs with a high number of vCPUs, e.g. from 6m13.969s down to 1m4.268s for a pseries machine with 384 vCPUs. Signed-off-by: Greg Kurz --- hw/scsi/virtio-scsi-datapla