diff options
| author | Arthur Gautier <baloo@superbaloo.net> | 2023-08-01 07:05:58 +0000 |
|---|---|---|
| committer | Raito Bezarius <masterancpp@gmail.com> | 2023-10-23 01:02:24 +0200 |
| commit | 08f4fe20874ea19c55849138fb3af734cb72a5a1 (patch) | |
| tree | 9a907d164cda443b1ff24eb7c935f2fdc4ed0474 /pkgs/development/python-modules/rangehttpserver | |
| parent | 83b131bb55bde0511a17d3beb52145d778dd4105 (diff) | |
qemu-vm: stop the swtpm once qemu stops
The idea is to run an async process waiting for swtpm
and we have to ensure that `FD_CLOEXEC` is cleared on this process'
stdin file descriptor, we use `fdflags` for this, a loadable builtin in
Bash ≥ 5.
The async process when exited will terminate `swtpm`, we bind the
termination of the async process to the termination of QEMU by virtue of
having `qemu` exec in that Bash script.
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
