mirror_qemu/backends/tpm
Emanuele Giuseppe Esposito aef04fc790 thread-pool: avoid passing the pool parameter every time
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>
2023-04-25 13:17:28 +02:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build configure, meson: move TPM check to meson 2022-02-21 10:35:53 +01:00
tpm_backend.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
tpm_emulator.c win32: replace closesocket() with close() wrapper 2023-03-13 15:39:31 +04:00
tpm_int.h tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
tpm_ioctl.h Don't include headers already included by qemu/osdep.h 2023-02-08 07:28:05 +01:00
tpm_passthrough.c qapi tpm: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
tpm_util.c qdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr() 2020-12-18 15:20:18 -05:00
trace-events tpm_emulator: Have swtpm relock storage upon migration fall-back 2022-09-13 10:27:17 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00