]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/dataplane/virtio-blk.c
hw: replace most qemu_bh_new calls with qemu_bh_new_guarded
authorAlexander Bulekov <alxndr@bu.edu>
Thu, 27 Apr 2023 21:10:09 +0000 (17:10 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 28 Apr 2023 09:31:54 +0000 (11:31 +0200)
commitf63192b0544af5d3e4d5edfd85ab520fcf671377
tree64eab41f7be16e93518b18c885d7e082edec4f69
parentef56ffbdd6b0605dc1e305611287b948c970e236
hw: replace most qemu_bh_new calls with qemu_bh_new_guarded

This protects devices from bh->mmio reentrancy issues.

Thanks: Thomas Huth <thuth@redhat.com> for diagnosing OS X test failure.
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230427211013.2994127-5-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
25 files changed:
hw/9pfs/xen-9p-backend.c
hw/block/dataplane/virtio-blk.c
hw/block/dataplane/xen-block.c
hw/char/virtio-serial-bus.c
hw/display/qxl.c
hw/display/virtio-gpu.c
hw/ide/ahci.c
hw/ide/ahci_internal.h
hw/ide/core.c
hw/misc/imx_rngc.c
hw/misc/macio/mac_dbdma.c
hw/net/virtio-net.c
hw/nvme/ctrl.c
hw/scsi/mptsas.c
hw/scsi/scsi-bus.c
hw/scsi/vmw_pvscsi.c
hw/usb/dev-uas.c
hw/usb/hcd-dwc2.c
hw/usb/hcd-ehci.c
hw/usb/hcd-uhci.c
hw/usb/host-libusb.c
hw/usb/redirect.c
hw/usb/xen-usb.c
hw/virtio/virtio-balloon.c
hw/virtio/virtio-crypto.c