mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +00:00
4f06b28a94
On Linux, we don't need to monitor anything special to get close
notifications; the Token::ReqHandlerRead event will be generated when
the fd closes (with is_hungup = true) and the closure will be handled
inline.
Adding the same backend_req_handler.get_read_notifier() to the wait_ctx
again causes an error, since that fd was already added in a previous
call.
BUG=None
TEST=`crosvm device block` + `crosvm run`
Fixes:
|
||
---|---|---|
.. | ||
src | ||
tests/irqchip | ||
Cargo.toml |