]> git.ipfire.org Git - thirdparty/qemu.git/commit
monitor: Simplify fdset and fd removal
authorFabiano Rosas <farosas@suse.de>
Mon, 17 Jun 2024 18:57:23 +0000 (15:57 -0300)
committerFabiano Rosas <farosas@suse.de>
Fri, 21 Jun 2024 12:47:21 +0000 (09:47 -0300)
commit881172f3f9dfe5764e7cb8983e5a660b93224d0c
tree60311ea41b58204c9adc2c77bfc9687591887d23
parent87d67fadb9db5e87072c244df794c0755150fd2a
monitor: Simplify fdset and fd removal

Remove fds right away instead of setting the ->removed flag. We don't
need the extra complexity of having a cleanup function reap the
removed entries at a later time.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
monitor/fds.c