This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: wait serial channel to be ready before reading
Otherwise grpc.Serv() will return directly with io.EOF error if there is no serial connection peer point yet, because there is nothing to read yet. We haven't seen it yet simply because kata-proxy is always started before qemu boots up. This also allows kata runtime to reconnect after dropping the serial port connection. Fixes: #213 Signed-off-by: Peng Tao <[email protected]>
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters