Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: make kata-runtime check error more understandable when /dev/kvm doesn't exist #9583

Merged

Commits on May 3, 2024

  1. runtime: make kata-runtime check error more understandable

    If device /dev/kvm does not exist, kata-runtime check would fail with
    an ambiguous error messae 'no such file or directory'. I added a little
    more details to make it understandable and it will belike:
    
    ```
    ERRO[0000] cannot open kvm device: no such file or directory  arch=arm64 check-type=full device=/dev/kvm name=kata-runtime pid=2849085 source=runtime
    ERRO[0000] no such file or directory                          arch=arm64 name=kata-runtime pid=2849085 source=runtime
    no such file or directory
    ```
    
    Signed-off-by: cncal <flycalvin@qq.com>
    cncal committed May 3, 2024
    Configuration menu
    Copy the full SHA
    9caa7be View commit details
    Browse the repository at this point in the history