You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devices/console: Fix a bug which would cause libkrun to hang on exit
Make PortInputEmpty and PortInputSigInt wait_until_readable implementations
poll the stopfd EventFd to ensure the thread eventually exits. If the thread
wouldn't exit, the Port::shutdown method would join the thread, and would wait
forever for the thread to exit.
To replicate the hang, the stdin musn't be a terminal. For example you can use a
pipe. `echo "foo" | ./chroot_vm rootfs_fedora /bin/cat` would hang.
This is technically a regresion introduced by the commit:
4076b7: devices/console: implement reset method
Signed-off-by: Matej Hrica <[email protected]>
0 commit comments