]> Git Repo - qemu.git/commit
win32: drop fd registration to the main-loop on setting non-block
authorMarc-André Lureau <[email protected]>
Fri, 18 Dec 2020 13:57:11 +0000 (17:57 +0400)
committerPaolo Bonzini <[email protected]>
Wed, 6 Jan 2021 09:21:20 +0000 (10:21 +0100)
commitc8b2b7fed9850356f5d88bc7da2f1cefe57289bf
treea95b739a6de949778b48838895a721914b8c0ce0
parentacb1e6db849151ef6e271027904b6cfea2d5880c
win32: drop fd registration to the main-loop on setting non-block

Low-level fd users from QEMU use aio_set_fd_handler(), which handles
event registration with the main loop; qemu_fd_register() is only
needed together with the main loop's poll notifiers, of which SLIRP
is the only user.

This removes a dependency from oslib-win32.c to main-loop.c.

Suggested-by: Paolo Bonzini <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20201218135712[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
util/oslib-win32.c
This page took 0.022459 seconds and 4 git commands to generate.