Philippe Mathieu-Daudé ec0504b989 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>
2024-04-10 09:09:33 +02:00
..
2024-01-12 13:23:48 +00:00
2024-03-06 12:35:51 +00:00
2024-03-13 11:43:52 +00:00
2023-09-07 14:01:29 -04:00
2024-02-13 07:42:45 -10:00
2024-03-20 10:27:58 +04:00
2023-08-31 19:47:43 +02:00