diff options
author | Clément Léger <cleger@rivosinc.com> | 2024-08-02 16:54:19 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-08-05 08:06:08 +1000 |
commit | a9b5d6e536c2c728a059b36ad434322dd9329c89 (patch) | |
tree | 2ce7876cb001ffa4b641a089758a1a5b1fb78573 /hw/scsi/scsi-disk.c | |
parent | ffa28f9cf503e22bfe621b062d29cbdb9a0aa786 (diff) | |
download | qemu-a9b5d6e536c2c728a059b36ad434322dd9329c89.zip qemu-a9b5d6e536c2c728a059b36ad434322dd9329c89.tar.gz qemu-a9b5d6e536c2c728a059b36ad434322dd9329c89.tar.bz2 |
net/tap: Factorize fd closing after forking
The same code is used twice to actually close all open file descriptors
after forking. Factorize it in a single place.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240802145423.3232974-4-cleger@rivosinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/scsi/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions