Re: [PATCH v4 5/6] util/async-teardown: Use qemu_close_range() to close fds

2023-07-07 Thread Markus Armbruster
Bin Meng writes: > From: Zhangjin Wu > > Based on the old close_all_open_fd() of util/async-teardown.c, a new > generic qemu_close_range() has been added in osdep.c. > > Now, let's switch over to use the generic qemu_close_range(). > > Signed-off-by: Zhangjin Wu > Signed-off-by: Bin Meng > > -

[PATCH v4 5/6] util/async-teardown: Use qemu_close_range() to close fds

2023-06-28 Thread Bin Meng
From: Zhangjin Wu Based on the old close_all_open_fd() of util/async-teardown.c, a new generic qemu_close_range() has been added in osdep.c. Now, let's switch over to use the generic qemu_close_range(). Signed-off-by: Zhangjin Wu Signed-off-by: Bin Meng --- Changes in v4: - call sysconf dir