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
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit 89e0dfa ("qemu: stop qemu process when virtiofsd quits")
stops sandbox when virtiofsd quits so that virtiofs mount inside guest
won't hang. But commit d5a3d0a ("virtiofs: use virtiofsd
--fd=FDNUM") deleted this monitor logic.
Add the Scanner back to monitor virtiofsd's stderr and stop sandbox if
Scanner returns error.
Note that we don't monitor the virtiofsd process itself is because
virtiofsd may be live-upgraded (when available) and the original
process may quit, but virtiofs service is still running.
Fixes: kata-containers#2315
Signed-off-by: Eryu Guan <[email protected]>
Description of problem
If virtiofsd was dead, the virtiofs mount inside guest hangs.
Commit 89e0dfa ("qemu: stop qemu process when virtiofsd quits") fixed it once. But commit d5a3d0a ("virtiofs: use virtiofsd --fd=FDNUM") broke it.
Expected result
sandbox is stopped as well.
Actual result
virtiofs mount hangs inside guest.
Additional info
I'll send a PR to fix this issue
The text was updated successfully, but these errors were encountered: