]> git.ipfire.org Git - thirdparty/qemu.git/commit
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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Sep 2023 16:38:01 +0000 (19:38 +0300)
commitfd9de51ea3f109d427bced84d80815a97bb7faa0
tree4f55f64e3ccd8a5501b1d276fe828e31f43c5537
parentdb56206f785909aa830e2a19336bb12abca50e82
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>
(cherry picked from commit f63192b0544af5d3e4d5edfd85ab520fcf671377)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
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