forked from kata-containers/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsock: Waiting event of vsock running before use it when use_vsock en…
…abled If `kata-runtime` connect vsock device in guest but the device is not start ready, the 'connect' will block and timeout after 2 sencond. This will cause the boot is slower 2 second when use vsock than serial. So we should wait 'VSOCK_RUNNING' QMP event before connect to avoid this case. Fixes: kata-containers#1917 Signed-off-by: Ning Bo <ning.bo9@zte.com.cn>
- Loading branch information
NingBo
committed
Aug 2, 2019
1 parent
3255640
commit 82841e1
Showing
4 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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