mirror of
https://github.com/qemu/qemu.git
synced 2025-10-24 19:01:24 +00:00
thread_pool_submit_aio() is always called on a pool taken from qemu_get_current_aio_context(), and that is the only intended use: each pool runs only in the same thread that is submitting work to it, it can't run anywhere else. Therefore simplify the thread_pool_submit* API and remove the ThreadPool function parameter. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Message-Id: <20230203131731.851116-5-eesposit@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| meson.build | ||
| tpm_backend.c | ||
| tpm_emulator.c | ||
| tpm_int.h | ||
| tpm_ioctl.h | ||
| tpm_passthrough.c | ||
| tpm_util.c | ||
| trace-events | ||
| trace.h | ||