diff options
author | 2024-04-04 20:56:11 +0200 | |
---|---|---|
committer | 2024-04-10 09:09:33 +0200 | |
commit | ec0504b989ca61e03636384d3602b7bf07ffe4da (patch) | |
tree | de2f95fd2357402954feb73a992d5c6d9ee20fef /plugins/api.c | |
parent | Merge tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu into staging (diff) | |
download | qemu-ec0504b989ca61e03636384d3602b7bf07ffe4da.tar.xz qemu-ec0504b989ca61e03636384d3602b7bf07ffe4da.zip |
hw/virtio: Introduce virtio_bh_new_guarded() helper
Introduce virtio_bh_new_guarded(), similar to qemu_bh_new_guarded()
but using the transport memory guard, instead of the device one
(there can only be one virtio device per virtio bus).
Inspired-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20240409105537.18308-2-philmd@linaro.org>
Diffstat (limited to 'plugins/api.c')
0 files changed, 0 insertions, 0 deletions