mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 01:34:15 +08:00
60efffa41b
Currently code has to call monitor_fdset_get_fd, then dup the return fd, and then add the duplicate FD back into the fdset. This dance is overly verbose for the caller and introduces extra failure modes which can be avoided by folding all the logic into monitor_fdset_dup_fd_add and removing monitor_fdset_get_fd entirely. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> |
||
---|---|---|
.. | ||
hmp-target.h | ||
hmp.h | ||
monitor.h | ||
qdev.h |